Turn on Closure compilers SIMPLE_OPTIMIZATIONS. Slightly change how svgedit namespace is set up in each module

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1931 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2011-01-18 06:46:45 +00:00
parent 8379711c3e
commit 6b8958bd39
10 changed files with 22 additions and 37 deletions

View File

@@ -10,11 +10,9 @@
// Dependencies:
// 1) jQuery (for $.alert())
(function() {
var svgedit = svgedit || {};
if (!window.svgedit) {
window.svgedit = {};
}
(function() {
if (!svgedit.browser) {
svgedit.browser = {};
@@ -25,7 +23,7 @@ var supportsSvg_ = (function() {
})();
svgedit.browser.supportsSvg = function() { return supportsSvg_; }
if(!svgedit.browser.supportsSvg()) {
window.location = "browser-not-supported.html";
window.location = "browser-not-supported.html";
}
else{