futurepress / epub.js

Enhanced eBooks in the browser.
http://futurepress.org
Other
6.48k stars 1.11k forks source link

JSHint errors #389

Open MifRea1 opened 8 years ago

MifRea1 commented 8 years ago
src\base.js
  57 |        global.RSVP = require('rsvp');
              ^ 'global' is not defined.
  57 |        global.RSVP = require('rsvp');
                            ^ 'require' is not defined.
  58 |        global.JSZip = require('jszip');
              ^ 'global' is not defined.
  58 |        global.JSZip = require('jszip');
                             ^ 'require' is not defined.
  59 |        global.localForage = require('localforage');
              ^ 'global' is not defined.
  59 |        global.localForage = require('localforage');
                                   ^ 'require' is not defined.
src\book.js
 875 |    var defer = defer || new RSVP.defer();
                    ^ 'defer' is already defined.
 892 |    var defer = defer || new RSVP.defer();
                    ^ 'defer' is already defined.
 909 |    var defer = defer || new RSVP.defer();
                    ^ 'defer' is already defined.
 928 |    var defer = defer || new RSVP.defer();
                    ^ 'defer' is already defined.

10 errors in 17 files
MaheshSinghSawant commented 8 years ago

getting these errors as well