mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Allow the minification of the undefined variable by defining it as a local parameter inside the paper scope.
This commit is contained in:
parent
b87448015d
commit
c5e43778bc
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var paper = new function() {
|
||||
// Allow the minification of the undefined variable by defining it as a local
|
||||
// parameter inside the paper scope.
|
||||
var paper = new function(undefined) {
|
||||
// Inline Bootstrap core (the Base class) inside the paper scope first:
|
||||
/*#*/ include('../components/straps/straps.js', { exports: false });
|
||||
|
||||
|
|
Loading…
Reference in a new issue