From c5e43778bc8dffc39385fc9617ed0839cfa7cd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 10 Oct 2013 20:15:32 +0200 Subject: [PATCH] Allow the minification of the undefined variable by defining it as a local parameter inside the paper scope. --- src/paper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/paper.js b/src/paper.js index 261f2021..2ff5d0b6 100644 --- a/src/paper.js +++ b/src/paper.js @@ -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 });