Allow the minification of the undefined variable by defining it as a local parameter inside the paper scope.

This commit is contained in:
Jürg Lehni 2013-10-10 20:15:32 +02:00
parent b87448015d
commit c5e43778bc

View file

@ -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 });