More JSLint

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2642 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Brett Zamir
2014-01-31 01:05:03 +00:00
parent 0df050aeb4
commit d12694f9fa
5 changed files with 111 additions and 83 deletions

View File

@@ -1,7 +1,8 @@
/*globals $, svgedit*/
/**
*
* Licensed under the MIT License
* main object, loaded first so other modules have the garanty of its existence
* main object, loaded first so other modules have the guarantee of its existence
*/
svgedit = {
@@ -18,7 +19,7 @@ svgedit = {
};
// return the svgedit.NS with key values switched and lowercase
svgedit.getReverseNS = function() {
svgedit.getReverseNS = function() {'use strict';
var reverseNS = {};
$.each(this.NS, function(name, URI) {
reverseNS[URI] = name.toLowerCase();