Skip to content

Commit

Permalink
Merge pull request #32 from rpflorence/assumed-global-qunit
Browse files Browse the repository at this point in the history
assume qunit is a global on page
  • Loading branch information
ryanflorence committed Apr 4, 2014
2 parents 2aeb54f + 20956f6 commit 2f72a6f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
10 changes: 5 additions & 5 deletions dist/amd/module-for.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
define(
["ember","qunit","./test-context","./isolated-container","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
["ember","./test-context","./isolated-container","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var Ember = __dependency1__["default"] || __dependency1__;
var QUnit = __dependency2__["default"] || __dependency2__;
var testContext = __dependency3__["default"] || __dependency3__;
var isolatedContainer = __dependency4__["default"] || __dependency4__;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = __dependency2__["default"] || __dependency2__;
var isolatedContainer = __dependency3__["default"] || __dependency3__;

__exports__["default"] = function moduleFor(fullName, description, callbacks, delegate) {
var container;
Expand Down
8 changes: 4 additions & 4 deletions dist/amd/test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
define(
["ember","qunit","./test-context","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
["ember","./test-context","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Ember = __dependency1__["default"] || __dependency1__;
var QUnit = __dependency2__["default"] || __dependency2__;
var testContext = __dependency3__["default"] || __dependency3__;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = __dependency2__["default"] || __dependency2__;

function resetViews() {
Ember.View.views = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/module-for.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
var Ember = require("ember")["default"] || require("ember");
var QUnit = require("qunit")["default"] || require("qunit");
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = require("./test-context")["default"] || require("./test-context");
var isolatedContainer = require("./isolated-container")["default"] || require("./isolated-container");

Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
var Ember = require("ember")["default"] || require("ember");
var QUnit = require("qunit")["default"] || require("qunit");
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = require("./test-context")["default"] || require("./test-context");

function resetViews() {
Expand Down
4 changes: 2 additions & 2 deletions dist/globals/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ exports["default"] = function moduleForModel(name, description, callbacks) {
},{"./module-for":5}],5:[function(_dereq_,module,exports){
"use strict";
var Ember = window.Ember["default"] || window.Ember;
var QUnit = window.QUnit["default"] || window.QUnit;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = _dereq_("./test-context")["default"] || _dereq_("./test-context");
var isolatedContainer = _dereq_("./isolated-container")["default"] || _dereq_("./isolated-container");

Expand Down Expand Up @@ -227,7 +227,7 @@ exports.get = get;
},{}],8:[function(_dereq_,module,exports){
"use strict";
var Ember = window.Ember["default"] || window.Ember;
var QUnit = window.QUnit["default"] || window.QUnit;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = _dereq_("./test-context")["default"] || _dereq_("./test-context");

function resetViews() {
Expand Down
18 changes: 9 additions & 9 deletions dist/named-amd/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ define("ember-qunit/isolated-container",
});
}
});define("ember-qunit/module-for",
["ember","qunit","./test-context","./isolated-container","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
["ember","./test-context","./isolated-container","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var Ember = __dependency1__["default"] || __dependency1__;
var QUnit = __dependency2__["default"] || __dependency2__;
var testContext = __dependency3__["default"] || __dependency3__;
var isolatedContainer = __dependency4__["default"] || __dependency4__;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = __dependency2__["default"] || __dependency2__;
var isolatedContainer = __dependency3__["default"] || __dependency3__;

__exports__["default"] = function moduleFor(fullName, description, callbacks, delegate) {
var container;
Expand Down Expand Up @@ -239,12 +239,12 @@ define("ember-qunit/isolated-container",

__exports__.get = get;
});define("ember-qunit/test",
["ember","qunit","./test-context","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
["ember","./test-context","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Ember = __dependency1__["default"] || __dependency1__;
var QUnit = __dependency2__["default"] || __dependency2__;
var testContext = __dependency3__["default"] || __dependency3__;
//import QUnit from 'qunit'; // Assumed global in runner
var testContext = __dependency2__["default"] || __dependency2__;

function resetViews() {
Ember.View.views = {};
Expand Down
2 changes: 1 addition & 1 deletion lib/module-for.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import QUnit from 'qunit';
//import QUnit from 'qunit'; // Assumed global in runner
import testContext from './test-context';
import isolatedContainer from './isolated-container';

Expand Down
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import QUnit from 'qunit';
//import QUnit from 'qunit'; // Assumed global in runner
import testContext from './test-context';

function resetViews() {
Expand Down

0 comments on commit 2f72a6f

Please sign in to comment.