Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Commit

Permalink
unharcode buster version in the bundle filename
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas committed Jan 6, 2016
1 parent c111882 commit 78b7885
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/buster/framework-extension.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// WHOA! This will change before 1.0

var BUSTER_VERSION = require("../../package.json").version;

function resolveModules(resourceSet, modules) {
return modules.map(function (module) {
var moduleName = module[0];
Expand Down Expand Up @@ -53,8 +55,8 @@ function loadTestFramework(configuration) {
["sinon/pkg/", "sinon-ie.js"]
]);

var compatResourceName = "/buster/compat-0.7.js";
var bundleResourceName = "/buster/bundle-0.7.js";
var compatResourceName = "/buster/compat-" + BUSTER_VERSION + ".js";
var bundleResourceName = "/buster/bundle-" + BUSTER_VERSION + ".js";

when.all([
rs.addResource({
Expand Down

0 comments on commit 78b7885

Please sign in to comment.