Skip to content

Commit

Permalink
Some whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
javve committed Jan 3, 2015
1 parent abace03 commit 39f963d
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 87 deletions.
54 changes: 27 additions & 27 deletions Gruntfile.js
Expand Up @@ -5,37 +5,37 @@ module.exports = function(grunt) {
pkg: require("./package.json"),
watch: {
scripts: {
files: ['{,*/}*.js', '*.js', 'test/*.html', 'test/*.js'],
tasks: ['default'],
options: {
spawn: false,
},
files: ['{,*/}*.js', '*.js', 'test/*.html', 'test/*.js'],
tasks: ['default'],
options: {
spawn: false,
},
},
},
shell: {
install: {
command: 'component install --dev',
options: {
stderr: true
}
command: 'component install --dev',
options: {
stderr: true
}
},
build: {
command: 'component build --dev',
options: {
stderr: true
}
command: 'component build --dev',
options: {
stderr: true
}
},
standalone: {
command: 'component build --standalone List -n list.standalone'
command: 'component build --standalone List -n list.standalone'
},
mkdir: {
command: 'mkdir -p dist'
command: 'mkdir -p dist'
},
move: {
command: 'mv build/list.standalone.js dist/list.js'
command: 'mv build/list.standalone.js dist/list.js'
},
remove: {
command: 'rm -fr build components dist'
command: 'rm -fr build components dist'
}
},
jshint: {
Expand All @@ -45,27 +45,27 @@ module.exports = function(grunt) {
expr: true,
multistr: false,
globals: {
module: true
module: true
}
}
}
},
tests: {
src: ['test/(*|!mocha).js'],
options: {
expr: true,
multistr: true,
globals: {
jQuery: true,
module: true
jQuery: true,
module: true
}
}
}
}
},
uglify: {
target: {
files: {
'dist/list.min.js': ['dist/list.js']
}
files: {
'dist/list.min.js': ['dist/list.js']
}
}
},
mocha: {
Expand All @@ -78,10 +78,10 @@ module.exports = function(grunt) {
log: true,
reporter: 'Nyan',
mocha: {
ignoreLeaks: false
ignoreLeaks: false
}
}
}
}
}
});

Expand Down
28 changes: 14 additions & 14 deletions bower.json
Expand Up @@ -4,25 +4,25 @@
"version": "1.1.1",
"homepage": "http://listjs.com",
"authors": [
"Jonny Strömberg <jonny.stromberg@gmail.com>"
"Jonny Strömberg <jonny.stromberg@gmail.com>"
],
"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
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
40 changes: 21 additions & 19 deletions package.json
Expand Up @@ -3,34 +3,36 @@
"version": "1.1.1",
"description": "Component package manager consuming git repositories",
"keywords": [
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
],
"author": "Jonny Strömberg <jonny.stromberg@gmail.com>",
"repository": "git://github.com/javve/list.js.git",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-shell": "~0.5.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-uglify": "~0.2.7",
"grunt-contrib-jshint": "~0.7.1",
"grunt-mocha": "~0.4.1"
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.7.1",
"grunt-contrib-uglify": "~0.2.7",
"grunt-contrib-watch": "~0.5.3",
"grunt-mocha": "~0.4.1",
"grunt-shell": "~0.5.0"
},
"main": "index",
"engines": {
"node": ">= 0.10.21"
"node": ">= 0.10.21"
},
"npmName": "list.js",
"npmFileMap": [{
"basePath": "/dist/",
"files": [
"*.js"
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
]
}]
}

0 comments on commit 39f963d

Please sign in to comment.