diff --git a/node/utils/tar.json b/node/utils/tar.json index fd285b94d..5fd6f6968 100644 --- a/node/utils/tar.json +++ b/node/utils/tar.json @@ -1,6 +1,7 @@ { "pad.js": [ "jquery.js" + , "pad.js" , "ace2_common.js" , "pad_utils.js" , "plugins.js" @@ -17,7 +18,6 @@ , "pad_impexp.js" , "pad_savedrevs.js" , "pad_connectionstatus.js" - , "pad2.js" , "jquery-ui.js" , "chat.js" , "excanvas.js" diff --git a/static/js/pad2.js b/static/js/pad.js similarity index 100% rename from static/js/pad2.js rename to static/js/pad.js diff --git a/static/js/pad_utils.js b/static/js/pad_utils.js index 8583ca9e3..464c5058b 100644 --- a/static/js/pad_utils.js +++ b/static/js/pad_utils.js @@ -34,7 +34,7 @@ var padutils = { }, uniqueId: function() { - var pad = require('/pad2').pad; // Sidestep circular dependency + var pad = require('/pad').pad; // Sidestep circular dependency function encodeNum(n, width) { // returns string that is exactly 'width' chars, padding with zeros @@ -209,7 +209,7 @@ var padutils = { }, timediff: function(d) { - var pad = require('/pad2').pad; // Sidestep circular dependency + var pad = require('/pad').pad; // Sidestep circular dependency function format(n, word) { n = Math.round(n); diff --git a/static/pad.html b/static/pad.html index e66a3d6e4..28bd2fcc7 100644 --- a/static/pad.html +++ b/static/pad.html @@ -298,7 +298,7 @@