mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-23 04:28:30 -04:00
Use dependency-style requireJs for unit tests, too
This commit is contained in:
parent
fbc8b75fdc
commit
f60b099f90
@ -22,12 +22,6 @@
|
||||
define(['jquery', 'title', 'archive', 'util', 'geometry'],
|
||||
function($, evopediaTitle, evopediaArchive, util, geometry) {
|
||||
|
||||
var $ = require('jquery');
|
||||
var evopediaTitle = require('title');
|
||||
var evopediaArchive = require('archive');
|
||||
var geometry = require('geometry');
|
||||
var util = require('util');
|
||||
|
||||
// Due to security restrictions in the browsers,
|
||||
// we can not read directly the files and run the unit tests
|
||||
// The user has to select them manually, then launch the tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user