Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A9AB11C67 for ; Tue, 15 Apr 2014 20:49:43 +0000 (UTC) Received: (qmail 70638 invoked by uid 500); 15 Apr 2014 20:49:19 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 69770 invoked by uid 500); 15 Apr 2014 20:49:01 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 69696 invoked by uid 99); 15 Apr 2014 20:48:59 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2014 20:48:59 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1D9E59304B3; Tue, 15 Apr 2014 20:48:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: deathbear@apache.org To: commits@couchdb.apache.org Date: Tue, 15 Apr 2014 20:49:14 -0000 Message-Id: <1687fe8b20884609833aba93a3f8367f@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [17/27] couchdb commit: updated refs/heads/Update-Sidebar-Ui to 73c8a06 Fauxton: Code cleanup Remove old linted config Add resizeColumns to app Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e528c0cb Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e528c0cb Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e528c0cb Branch: refs/heads/Update-Sidebar-Ui Commit: e528c0cbbb26f684fdff6147c2edf0806318ef42 Parents: 0088f6c Author: Garren Smith Authored: Mon Apr 14 15:37:21 2014 +0200 Committer: Garren Smith Committed: Mon Apr 14 15:37:21 2014 +0200 ---------------------------------------------------------------------- src/fauxton/Gruntfile.js | 10 ---------- src/fauxton/app/addons/fauxton/base.js | 2 +- src/fauxton/app/addons/fauxton/resizeColumns.js | 1 + 3 files changed, 2 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/e528c0cb/src/fauxton/Gruntfile.js ---------------------------------------------------------------------- diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index 29111eb..c650b9f 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/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/blob/e528c0cb/src/fauxton/app/addons/fauxton/base.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/fauxton/base.js b/src/fauxton/app/addons/fauxton/base.js index 7c50211..29925e8 100644 --- a/src/fauxton/app/addons/fauxton/base.js +++ b/src/fauxton/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/blob/e528c0cb/src/fauxton/app/addons/fauxton/resizeColumns.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/fauxton/resizeColumns.js b/src/fauxton/app/addons/fauxton/resizeColumns.js index abfcd2f..b081580 100644 --- a/src/fauxton/app/addons/fauxton/resizeColumns.js +++ b/src/fauxton/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) {