Commit f0a3fe25 authored by Kjetil Thuen's avatar Kjetil Thuen

Fetch jquery using bower.

parent a03cd749
......@@ -4,4 +4,5 @@ tags
dist
lib
node_modules
components
bower_components
......@@ -6,5 +6,8 @@
"**/.*",
"node_modules",
"components"
]
],
"dependencies": {
"jquery": "*"
}
}
......@@ -39,8 +39,8 @@
}
</style>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="src/listEntryInfo.js"></script>
<script src="lib/jquery/jquery.js"></script>
<script src="dist/listentryinfo.min.js"></script>
<script>
var philosophers = [
"Abhinavagupta",
......
......@@ -43,7 +43,7 @@ module.exports = function(grunt) {
}
},
clean: {
build: ['build/*']
release: ['dist']
}
});
......@@ -51,6 +51,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-bower-task');
// Tasks
......
......@@ -2,15 +2,13 @@
"name": "listentryinfo",
"version": "0.0.1",
"description": "JQuery plugin that selects a list entry when scrolling and calls a callback with its id",
"dependencies" : {
"jquery": "latest"
},
"devDependencies" : {
"grunt-bower-task": "latest",
"grunt": "latest",
"grunt-contrib-uglify": "latest",
"grunt-contrib-concat": "latest",
"grunt-contrib-jshint": "latest",
"grunt-contrib-clean": "latest",
"grunt-bower-task": "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