Commits

Don Brown committed c924fcb

Getting rid of debug stuff

Comments (0)

Files changed (1)

src/main/resources/js/quicktemplates.js

                 $form.submit(function(e) {
                     var title = $('#content-title').val();
                     var body = $('#markupTextarea', $form).val();
-
-
-                    console.log("adding title:" + title + " body:" + body);
                     addedPages.push({
                         title : title,
                         body : body
                 });
             }
         }
-
-        AJS.whenIType('shift+i').execute(function() {
-            var addedPages = (localStorage.addedPages ? JSON.parse(localStorage.addedPages) : []);
-            jQuery.each(addedPages, function() {
-                console.log("title:" + this.title);
-                console.log("body:" + this.body);
-            })
-        });
-        AJS.whenIType('shift+x').execute(function() {
-            localStorage.clear();
-            console.log("data cleared");
-        });
-
     });
 })(jQuery);