mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Intial move to ES2015
This commit is contained in:
parent
b0944bdff8
commit
353dfa62fd
46 changed files with 16839 additions and 18742 deletions
|
@ -2,12 +2,10 @@ var assert = require('assert');
|
|||
|
||||
describe('Locations', function() {
|
||||
var Locations = require('../src/locations');
|
||||
var core = require('../src/core');
|
||||
var chapter = require('raw-loader!./fixtures/locations.xhtml');
|
||||
var core = require('../src/utils/core');
|
||||
|
||||
describe('#parse', function() {
|
||||
var Locations = require('../src/locations');
|
||||
var core = require('../src/core');
|
||||
var chapter = require('raw-loader!./fixtures/locations.xhtml');
|
||||
|
||||
it('parse locations from a document', function() {
|
||||
|
@ -25,7 +23,6 @@ describe('Locations', function() {
|
|||
|
||||
var locations = new Locations();
|
||||
var result = locations.parse(contents, "/6/4[chap01ref]", 100);
|
||||
console.log(result);
|
||||
assert.equal(result.length, 15);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue