Updated Branches: refs/heads/BEAUTIFY 62a0bff62 -> 17d99b757
define beautify Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/17d99b75 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/17d99b75 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/17d99b75 Branch: refs/heads/BEAUTIFY Commit: 17d99b757f8ba60085223f4205fca50d2cc4cf57 Parents: 62a0bff Author: Garren Smith <[email protected]> Authored: Mon Jan 27 17:53:55 2014 +0200 Committer: Garren Smith <[email protected]> Committed: Mon Jan 27 17:53:55 2014 +0200 ---------------------------------------------------------------------- src/fauxton/app/addons/documents/views.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/17d99b75/src/fauxton/app/addons/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/documents/views.js b/src/fauxton/app/addons/documents/views.js index b184e2e..392cfc4 100644 --- a/src/fauxton/app/addons/documents/views.js +++ b/src/fauxton/app/addons/documents/views.js @@ -24,13 +24,13 @@ define([ "resizeColumns", // Plugins - "plugins/prettify", "plugins/beautify", + "plugins/prettify", ], -function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColumns) { +function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColumns, beautify) { var Views = {}; Views.Tabs = FauxtonAPI.View.extend({ template: "addons/documents/templates/tabs", @@ -1669,7 +1669,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum } }, beautifyCode: function(){ - var beautifiedCode = js_beautify(this.mapEditor.getValue()); + var beautifiedCode = beautify(this.mapEditor.getValue()); this.mapEditor.setValue(beautifiedCode); }, cleanup: function () {
