Skip to content

Commit

Permalink
Switch from tabs with 4 spaces to 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
javve committed Sep 26, 2014
1 parent 237f926 commit abace03
Show file tree
Hide file tree
Showing 30 changed files with 3,817 additions and 3,817 deletions.
148 changes: 74 additions & 74 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,87 +2,87 @@ module.exports = function(grunt) {
"use strict";

grunt.initConfig({
pkg: require("./package.json"),
watch: {
scripts: {
files: ['{,*/}*.js', '*.js', 'test/*.html', 'test/*.js'],
tasks: ['default'],
options: {
spawn: false,
},
},
pkg: require("./package.json"),
watch: {
scripts: {
files: ['{,*/}*.js', '*.js', 'test/*.html', 'test/*.js'],
tasks: ['default'],
options: {
spawn: false,
},
shell: {
install: {
command: 'component install --dev',
options: {
stderr: true
}
},
build: {
command: 'component build --dev',
options: {
stderr: true
}
},
standalone: {
command: 'component build --standalone List -n list.standalone'
},
mkdir: {
command: 'mkdir -p dist'
},
move: {
command: 'mv build/list.standalone.js dist/list.js'
},
remove: {
command: 'rm -fr build components dist'
}
},
jshint: {
code: {
src: ['Gruntfile.js', '*.js', 'src/*.js'],
options: {
expr: true,
multistr: false,
globals: {
module: true
}
}
},
tests: {
src: ['test/(*|!mocha).js'],
options: {
expr: true,
multistr: true,
globals: {
jQuery: true,
module: true
}
}
}
},
shell: {
install: {
command: 'component install --dev',
options: {
stderr: true
}
},
build: {
command: 'component build --dev',
options: {
stderr: true
}
},
standalone: {
command: 'component build --standalone List -n list.standalone'
},
mkdir: {
command: 'mkdir -p dist'
},
move: {
command: 'mv build/list.standalone.js dist/list.js'
},
uglify: {
target: {
files: {
'dist/list.min.js': ['dist/list.js']
}
remove: {
command: 'rm -fr build components dist'
}
},
jshint: {
code: {
src: ['Gruntfile.js', '*.js', 'src/*.js'],
options: {
expr: true,
multistr: false,
globals: {
module: true
}
}
},
mocha: {
cool: {
src: [ 'test/index.html' ],
options: {
run: true,
timeout: 10000,
bail: false,
log: true,
reporter: 'Nyan',
mocha: {
ignoreLeaks: false
}
}
tests: {
src: ['test/(*|!mocha).js'],
options: {
expr: true,
multistr: true,
globals: {
jQuery: true,
module: true
}
}
}
},
uglify: {
target: {
files: {
'dist/list.min.js': ['dist/list.js']
}
}
},
mocha: {
cool: {
src: [ 'test/index.html' ],
options: {
run: true,
timeout: 10000,
bail: false,
log: true,
reporter: 'Nyan',
mocha: {
ignoreLeaks: false
}
}
}
}
});

grunt.loadNpmTasks("grunt-contrib-watch");
Expand Down
2 changes: 1 addition & 1 deletion History.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
### 2011-11-16: 0.1.2 release
- Sorting is now indicated by class `asc` or `desc` at sorting buttons
- Added three new small helper functions `hasClass(element, class)`, `addClass(element, class)</
and `removeClass(element, class)`</li>
and `removeClass(element, class)`</li>

### 2011-10-20: 0.1.1 release
- Added possibility to reverse sort the list
Expand Down
28 changes: 14 additions & 14 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
"version": "1.1.1",
"homepage": "http://listjs.com",
"authors": [
"Jonny Strömberg <[email protected]>"
"Jonny Strömberg <[email protected]>"
],
"description": "Add search, sort and flexibility to plain HTML lists or tables with cross-browser native JavaScript.",
"keywords": [
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"components",
"test",
"tests"
"**/.*",
"node_modules",
"bower_components",
"components",
"test",
"tests"
]
}
54 changes: 27 additions & 27 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,40 @@
"version": "1.1.1",
"description": "Add search, sort and flexibility to plain HTML lists or tables with cross-browser native JavaScript.",
"keywords": [
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
],
"scripts": [
"index.js",
"src/search.js",
"src/sort.js",
"src/item.js",
"src/templater.js",
"src/filter.js",
"src/add-async.js",
"src/parse.js"
"index.js",
"src/search.js",
"src/sort.js",
"src/item.js",
"src/templater.js",
"src/filter.js",
"src/add-async.js",
"src/parse.js"
],
"license": "MIT",
"dependencies": {
"component/classes": "*",
"segmentio/extend": "*",
"component/indexof": "*",
"javve/events": "*",
"javve/get-by-class": "*",
"javve/get-attribute": "*",
"javve/natural-sort": "*",
"javve/to-string": "*",
"component/type": "*"
"component/classes": "*",
"segmentio/extend": "*",
"component/indexof": "*",
"javve/events": "*",
"javve/get-by-class": "*",
"javve/get-attribute": "*",
"javve/natural-sort": "*",
"javve/to-string": "*",
"component/type": "*"
},
"development": {
"visionmedia/mocha": "*",
"techjacker/expect.js": "*",
"component/jquery": "1.9.1"
"visionmedia/mocha": "*",
"techjacker/expect.js": "*",
"component/jquery": "1.9.1"
},
"twitter": "javve",
"remotes": []
Expand Down
Loading

0 comments on commit abace03

Please sign in to comment.