TagSpaces is an offline, open source, document manager with tagging support
Change the name of some grunt tasks
uggrock524bba68c687
diff --git a/.travis.yml b/.travis.ymlindex 9afe01cee..a1b6ccb04 100644--- a/.travis.yml+++ b/.travis.yml@@ -3,5 +3,5 @@ node_js:- "0.10"before_install: npm install -g grunt-cliinstall: npm install-before_script: grunt checkstyle+before_script: grunt checkStylesudo: false\ No newline at end of filediff --git a/Gruntfile.js b/Gruntfile.jsindex 3e910604b..ec9ad6ab2 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -242,10 +242,10 @@ module.exports = function(grunt) {grunt.loadNpmTasks('grunt-jsbeautifier');//tasks- grunt.registerTask('checkstyle', ['jshint', 'jscs']);+ grunt.registerTask('checkStyle', ['jshint', 'jscs']);//grunt.registerTask('dist-doc', ['jsdoc', 'compress:doc']);grunt.registerTask('jsfix', ['jsbeautifier', 'checkstyle']); // 'fixmyjs:core'- grunt.registerTask('bump-version', ['init', 'replace:templates']);+ grunt.registerTask('bumpVersion', ['init', 'replace:templates']);grunt.registerTask('default', ['help']);grunt.registerTask('jsdav', 'Run JSDav Server.', function() {var jsDAV = require("jsDAV/lib/jsdav");@@ -261,8 +261,8 @@ module.exports = function(grunt) {grunt.registerTask('help', 'Printing help for this script.', function() {grunt.log.writeln("Supported grunt tasks:");- grunt.log.writeln(" - checkstyle");- grunt.log.writeln(" - bump-version");+ grunt.log.writeln(" - checkStyle");+ grunt.log.writeln(" - bumpVersion");});grunt.registerTask('init', 'Initializing variables.', function() {diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex a6852a202..33f700ec6 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -499,10 +499,10 @@ define(function(require, exports, module) {TSCORE.openTagMenu(this, $(this).attr("tag"), $(this).attr("filepath"));});- Mousetrap.unbind("mod+a");- Mousetrap.bindGlobal("mod+a", function() {- self.toggleSelectAll();- });+ Mousetrap.unbind("mod+a");+ Mousetrap.bindGlobal("mod+a", function() {+ self.toggleSelectAll();+ });};ExtUI.prototype.clearSelectedFiles = function() {diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.jsindex c3a6ebc01..328fe618f 100644--- a/data/ext/perspectiveList/perspectiveUI.js+++ b/data/ext/perspectiveList/perspectiveUI.js@@ -397,7 +397,7 @@ define(function(require, exports, module) {Mousetrap.unbind("mod+a");Mousetrap.bindGlobal("mod+a", function() {- self.toggleSelectAll();+ self.toggleSelectAll();});this.refreshThumbnails();@@ -686,7 +686,6 @@ define(function(require, exports, module) {return prevFilePath;};-ExtUI.prototype.toggleSelectAll = function() {var $checkIcon = $("#" + this.extensionID + "ToogleSelectAll").find("i");if ($checkIcon.hasClass("fa-square-o")) {