couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [11/19] fauxton commit: updated refs/heads/import-master to 4ab2cde
Date Thu, 17 Apr 2014 08:37:11 GMT
Fauxton: Code cleanup

Remove old linted config
Add resizeColumns to app


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/0411b328
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/0411b328
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/0411b328

Branch: refs/heads/import-master
Commit: 0411b32851a16e6d2aab3cf7e49ddec0aea47c73
Parents: c978156
Author: Garren Smith <garren.smith@gmail.com>
Authored: Mon Apr 14 15:37:21 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Apr 14 15:37:21 2014 +0200

----------------------------------------------------------------------
 Gruntfile.js                        | 10 ----------
 app/addons/fauxton/base.js          |  2 +-
 app/addons/fauxton/resizeColumns.js |  1 +
 3 files changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/0411b328/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 29111eb..c650b9f 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -147,16 +147,6 @@ module.exports = function(grunt) {
       watch: cleanableAddons
     },
 
-    // The lint task will run the build configuration and the application
-    // JavaScript through JSHint and report any errors.  You can change the
-    // options for this task, by reading this:
-    // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md
-    lint: {
-      files: [
-        "build/config.js", "app/**/*.js" 
-      ]
-    },
-
     less: {
       compile: {
         options: {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/0411b328/app/addons/fauxton/base.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/base.js b/app/addons/fauxton/base.js
index 7c50211..29925e8 100644
--- a/app/addons/fauxton/base.js
+++ b/app/addons/fauxton/base.js
@@ -145,7 +145,7 @@ function(app, FauxtonAPI, resizeColumns) {
     initialize: function () {
       _.bindAll(this);
       //resizeAnimation
-      this.resizeColumns = new resizeColumns({});
+      app.resizeColumns = this.resizeColumns = new resizeColumns({});
       this.resizeColumns.onResizeHandler();
       
       FauxtonAPI.extensions.on('add:navbar:addHeaderLink', this.addLink);

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/0411b328/app/addons/fauxton/resizeColumns.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/resizeColumns.js b/app/addons/fauxton/resizeColumns.js
index abfcd2f..b081580 100644
--- a/app/addons/fauxton/resizeColumns.js
+++ b/app/addons/fauxton/resizeColumns.js
@@ -75,6 +75,7 @@ function(FauxtonAPI) {
         }
 
         $(this.options.selectorElements).innerWidth(panelWidth);
+        
       }
       //if there is a callback, run that
       if(this.options.callback) {


Mime
View raw message