changeset 2786:a5c7b4c36373

jslint templates/basic.js; improve where used comment
author RogerHaase <haaserd@gmail.com>
date Fri, 12 Sep 2014 10:25:06 -0700
parents 21198c052d49
children 55171567f3ed
files MoinMoin/templates/basic.js
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/basic.js	Fri Sep 12 06:57:49 2014 -0700
+++ b/MoinMoin/templates/basic.js	Fri Sep 12 10:25:06 2014 -0700
@@ -1,6 +1,9 @@
-$(document).ready(function (){
-    // this depends on the id's used for different tab-panes in modify.html (Basic Theme)
-    var edit = false;
+/*jslint browser: true, nomen: true, todo: true*/
+/*global $:true*/
+
+$(document).ready(function () {
+    // this depends on the id's used for different tab-panes in modify.html and usersettings.html (Basic Theme)
+    "use strict";
     $('#meta, #help').removeClass('active');
     $('#password, #notification, #personal, #navigation, #options, #acl, #subscriptions').removeClass('active');
     $('textarea').autosize();