Skip to content

Commit

Permalink
Cleared out libs folder, use npm install or bower install instead. Cl…
Browse files Browse the repository at this point in the history
…eaned examples. Fixed small issues in core.
  • Loading branch information
fchasen committed Sep 16, 2015
1 parent 1a782d0 commit 2b6b759
Show file tree
Hide file tree
Showing 153 changed files with 2,248 additions and 47,507 deletions.
15 changes: 7 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module.exports = function(grunt) {
'<%= grunt.template.today("yyyy-mm-dd") %> */'
},
concat_sourcemap : {
'build/epub.js': ['<banner>', 'libs/rsvp/rsvp.js', 'src/*.js', 'libs/mime-types/mime-types.js'],
'build/epub.js': ['<banner>', 'node_modules/rsvp/dist/rsvp.js', 'src/*.js', 'libs/mime-types/mime-types.js'],
'build/reader.js': ['<banner>', 'reader_src/reader.js', 'reader_src/controllers/*.js'],
'build/hooks.js': ['<banner>', 'hooks/default/*.js'],
'build/hooks.js': ['<banner>', 'hooks/default/*.js']
},
uglify: {
my_target: {
Expand All @@ -21,9 +21,7 @@ module.exports = function(grunt) {
files: {
'build/epub.min.js': ['build/epub.js'],
'build/reader.min.js': ['build/reader.js'],
'build/hooks.min.js': ['build/hooks.js'],
'build/libs/zip.min.js': ['libs/jszip/jszip.min.js'],
'build/libs/localforage.min.js': ['libs/localforage/localforage.min.js']
'build/hooks.min.js': ['build/hooks.js']
}
}
},
Expand All @@ -36,10 +34,11 @@ module.exports = function(grunt) {
{src: 'build/epub.min.map', dest: 'reader/js/epub.js.map'},
{src: 'build/hooks.min.map', dest: 'reader/js/hooks.js.map'},
{src: 'build/reader.js.map', dest: 'reader/js/hooks.js.map'},
{src: 'node_modules/localforage/dist/localforage.min.js', dest: 'build/libs/localforage.min.js'},
{src: 'libs/jszip/jszip.min.js', dest: 'build/libs/zip.min.js'},
{src: 'build/libs/zip.min.js', dest: 'reader/js/libs/zip.min.js'},
// {src: 'build/libs/zip.min.js', dest: 'reader/js/libs/zip.min.map'},
{src: 'libs/jquery/jquery-2.1.0.min.js', dest:'reader/js/libs/jquery-2.1.0.min.js'},
{src: 'libs/screenfull.min.js', dest: 'reader/js/libs/screenfull.min.js'},
{src: 'node_modules/jquery/dist/jquery.min.js', dest:'reader/js/libs/jquery.min.js'},
{src: 'node_modules/screenfull/dist/screenfull.js', dest: 'reader/js/libs/screenfull.js'},
{src: 'reader_src/plugins/search.js', dest: 'reader/js/plugins/search.js'},
{src: 'reader_src/plugins/hypothesis.js', dest: 'reader/js/plugins/hypothesis.js'},
{src: 'hooks/extensions/highlight.js', dest: 'reader/js/hooks/extensions/highlight.js'}
Expand Down
5 changes: 4 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
],
"dependencies": {
"rsvp": "~3.0.8",
"underscore": "~1.8.3"
"underscore": "~1.8.3",
"polymer": "Polymer/polymer#^1.0.0",
"backbone": "~1.2.3",
"jquery-highlight": "~3.3.0"
}
}
Loading

0 comments on commit 2b6b759

Please sign in to comment.