Permalink
Browse files

fix jslint errors

  • Loading branch information...
1 parent 8e32100 commit 39c59dedc185bb18da3bf29a2935e80bd81d9878 @jasonsanjose jasonsanjose 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 39c59de

Please sign in to comment.