Use dependency-style requireJs for unit tests, too

This commit is contained in:
mossroy 2014-07-23 17:49:25 +02:00
parent 2bea2ca188
commit fbc8b75fdc

View File

@ -19,7 +19,8 @@
* You should have received a copy of the GNU General Public License
* along with Evopedia (file LICENSE-GPLv3.txt). If not, see <http://www.gnu.org/licenses/>
*/
define(function(require) {
define(['jquery', 'title', 'archive', 'util', 'geometry'],
function($, evopediaTitle, evopediaArchive, util, geometry) {
var $ = require('jquery');
var evopediaTitle = require('title');