Commit f0a3fe25 authored by Kjetil Thuen's avatar Kjetil Thuen

Fetch jquery using bower.

parent a03cd749
...@@ -4,4 +4,5 @@ tags ...@@ -4,4 +4,5 @@ tags
dist dist
lib lib
node_modules node_modules
components
bower_components bower_components
...@@ -6,5 +6,8 @@ ...@@ -6,5 +6,8 @@
"**/.*", "**/.*",
"node_modules", "node_modules",
"components" "components"
] ],
"dependencies": {
"jquery": "*"
}
} }
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
} }
</style> </style>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> <script src="lib/jquery/jquery.js"></script>
<script src="src/listEntryInfo.js"></script> <script src="dist/listentryinfo.min.js"></script>
<script> <script>
var philosophers = [ var philosophers = [
"Abhinavagupta", "Abhinavagupta",
......
...@@ -43,7 +43,7 @@ module.exports = function(grunt) { ...@@ -43,7 +43,7 @@ module.exports = function(grunt) {
} }
}, },
clean: { clean: {
build: ['build/*'] release: ['dist']
} }
}); });
...@@ -51,6 +51,7 @@ module.exports = function(grunt) { ...@@ -51,6 +51,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-bower-task'); grunt.loadNpmTasks('grunt-bower-task');
// Tasks // Tasks
......
...@@ -2,15 +2,13 @@ ...@@ -2,15 +2,13 @@
"name": "listentryinfo", "name": "listentryinfo",
"version": "0.0.1", "version": "0.0.1",
"description": "JQuery plugin that selects a list entry when scrolling and calls a callback with its id", "description": "JQuery plugin that selects a list entry when scrolling and calls a callback with its id",
"dependencies" : {
"jquery": "latest"
},
"devDependencies" : { "devDependencies" : {
"grunt-bower-task": "latest", "grunt-bower-task": "latest",
"grunt": "latest", "grunt": "latest",
"grunt-contrib-uglify": "latest", "grunt-contrib-uglify": "latest",
"grunt-contrib-concat": "latest", "grunt-contrib-concat": "latest",
"grunt-contrib-jshint": "latest", "grunt-contrib-jshint": "latest",
"grunt-contrib-clean": "latest",
"grunt-bower-task": "latest", "grunt-bower-task": "latest",
"grunt-contrib-clean": "latest" "grunt-contrib-clean": "latest"
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment