Permalink
Browse files

Merge pull request #2341 from adobe/jasonsanjose/jslint

fix jslint errors
  • Loading branch information...
2 parents 4a1a962 + 39c59de commit f120d2223563d1956a6bc3262ee97c2089c51a51 @njx njx committed Dec 12, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/utils/UpdateNotification.js
  2. +1 −1 src/utils/UrlParams.js
@@ -22,7 +22,7 @@
*/
/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
-/*global define, $, brackets, PathUtils, window */
+/*global define, $, brackets, PathUtils, window, Mustache */
/**
* Utilities functions for displaying update notifications
View
@@ -41,7 +41,7 @@ define(function (require, exports, module) {
*/
UrlParams.prototype.parse = function (url) {
if (url) {
- url = url.substring(indexOf("?") + 1);
+ url = url.substring(url.indexOf("?") + 1);
} else {
url = window.document.location.search.substring(1);
}

0 comments on commit f120d22

Please sign in to comment.