diff options
Diffstat (limited to 'web/client.js')
-rw-r--r-- | web/client.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/web/client.js b/web/client.js index 9bbe75c..67d8e18 100644 --- a/web/client.js +++ b/web/client.js @@ -5,7 +5,7 @@ requirejs.config({ baseUrl: "lib", - paths: {acf2: ".."}, + paths: {aconf: ".."}, shim: { underscore: {exports: "_"}, "jquery-bbq": {deps: ["jquery"]}, @@ -20,18 +20,18 @@ requirejs.config({ require( [ - "acf2/dom", - "acf2/error", - "acf2/navigation", - "acf2/path", - "acf2/statusbar", - "acf2/transaction", - "acf2/type", - "acf2/widget/inline", + "aconf/dom", + "aconf/error", + "aconf/navigation", + "aconf/path", + "aconf/statusbar", + "aconf/transaction", + "aconf/type", + "aconf/widget/inline", "jquery", "underscore", - "acf2/layout/stacked", - "acf2/layout/tabular", + "aconf/layout/stacked", + "aconf/layout/tabular", "jquery-blockui" ], function( @@ -48,8 +48,8 @@ require( }).done(function(data, status, xhr) { txnMgr = txnMgr( - xhr.getResponseHeader("X-ACF-Auth-Token"), - xhr.getResponseHeader("X-ACF-Save-Required") == "1" + xhr.getResponseHeader("X-AConf-Auth-Token"), + xhr.getResponseHeader("X-AConf-Save-Required") == "1" ); @@ -62,7 +62,7 @@ require( var layout = data.meta.widget; var name = pth.split(path).pop(); (layout ? - require("acf2/layout/" + layout) : + require("aconf/layout/" + layout) : Inline).extend({ createEl: function() { return $("#content").empty(); |