Skip to content

Commit

Permalink
fix issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolif committed Apr 3, 2015
1 parent 91b2b94 commit 2ddbb0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/templates/_Sample.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<script src="../bower_components/requirejs/require.js"></script>
Expand Down
7 changes: 3 additions & 4 deletions app/templates/_Test.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
define([
"intern!object",
"intern/chai!assert",
"intern/node_modules/dojo/Deferred",<% if (build) { %>
"intern/node_modules/dojo/Deferred"<% if (build) { %>,
"delite-build/layer",
"ecma402-build/layer",<% } %>
"requirejs-domready/domReady!"
"ecma402-build/layer"<% } %>
], function (registerSuite, assert, Deferred) {
var container, register;
registerSuite({
name: "",
setup: function () {
var dfd = new Deferred();
require(["delite/register", "<%= package %>/<%= widgetName %>"], function (r) {
require(["delite/register", "<%= package %>/<%= widgetName %>", "requirejs-domready/domReady!"], function (r) {
register = r;
dfd.resolve();
});
Expand Down

0 comments on commit 2ddbb0a

Please sign in to comment.