grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
- files: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js'],
+ files: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js', '!src/library/mousetrap.min.js'],
options: {
globals: {
jQuery: true,
}
- }
+ },
},
watch: {
files: ['<%= jshint.files %>', '<%= concat.css.src %>', '<%= copy.main.files[0].src %>'],
}
// TODO: More documentation
-// TODO: Removing objects/shortcuts/rebinding won't work until this bug is fixed in mousetrap: https://github.com/ccampbell/mousetrap/issues/267
// firstShortcut = Shortcut.registerShortcut("Control + k", function() { console.log("Shortcut pressed."); });
// firstShortcut.rebind("Control + m");
/**
* @depend ../library/cursorToEnd.js
- //* @depend ../library/viewShortcuts.js
+ * @depend ../library/viewShortcuts.js
*/
}
// TODO: More documentation
-// TODO: Removing objects/shortcuts/rebinding won't work until this bug is fixed in mousetrap: https://github.com/ccampbell/mousetrap/issues/267
// firstShortcut = Shortcut.registerShortcut("Control + k", function() { console.log("Shortcut pressed."); });
// firstShortcut.rebind("Control + m");
/**
* @depend ../library/cursorToEnd.js
- //* @depend ../library/viewShortcuts.js
+ * @depend ../library/viewShortcuts.js
*/
// TODO: More documentation
-// TODO: Removing objects/shortcuts/rebinding won't work until this bug is fixed in mousetrap: https://github.com/ccampbell/mousetrap/issues/267
// firstShortcut = Shortcut.registerShortcut("Control + k", function() { console.log("Shortcut pressed."); });
// firstShortcut.rebind("Control + m");
/**
* @depend ../library/cursorToEnd.js
- //* @depend ../library/viewShortcuts.js
+ * @depend ../library/viewShortcuts.js
*/