Missing semicolons
[fnpeditor.git] / modules / metadataEditor / metadataEditor.js
index 79302bb..12578ba 100644 (file)
@@ -35,7 +35,7 @@ return function(sandbox) {
                         metaTable.find('.rng-module-metadataEditor-metaItemValue').focus();\r
                     } else {\r
                         var input = $('<input>');\r
-                        input.appendTo('body').focus()\r
+                        input.appendTo('body').focus();\r
                         view.node.find('.rng-module-metadataEditor-addBtn').focus();\r
                         input.remove();\r
                     }\r
@@ -47,7 +47,7 @@ return function(sandbox) {
             var onKeyUp = function(e) {\r
                 if(e.which !== 13)\r
                     sandbox.publish('metadataChanged', view.getMetadata());\r
-            }\r
+            };\r
             this.metaTable.on('keyup', '[contenteditable]', _.throttle(onKeyUp, 500));\r
         },\r
         getMetadata: function() {\r
@@ -73,7 +73,7 @@ return function(sandbox) {
             newRow.appendTo(this.metaTable);\r
             return newRow;\r
         }\r
-    }\r
+    };\r
     \r
     view.setup();\r
     \r
@@ -101,7 +101,7 @@ return function(sandbox) {
                 var section = toret.find('section');\r
                 section = section.length ? $(section[0]) : null;\r
                 if(section) {\r
-                    section.prepend(meta)\r
+                    section.prepend(meta);\r
                 }\r
             } else {\r
                 metadata.replaceWith(meta);\r
@@ -110,6 +110,6 @@ return function(sandbox) {
         }\r
         \r
     };\r
-}\r
+};\r
 \r
 });
\ No newline at end of file