Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
Fixes bundle and bundle testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik committed Feb 28, 2014
1 parent 992b768 commit 86638c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions utils/builder/templates/avm2utils.js
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

enableVerifier.value = true;
enableC4.value = true;
Shumway.AVM2.Runtime.enableVerifier.value = true;
release = true;

var avm2Root = SHUMWAY_ROOT + "avm2/";
Expand Down
4 changes: 2 additions & 2 deletions utils/builder/templates/scripts.js
Expand Up @@ -29,8 +29,8 @@
load($SHUMWAY_ROOT + "lib/DataView.js/DataView.js");
load($SHUMWAY_ROOT + "lib/ByteArray.js");
load($SHUMWAY_ROOT + "src/avm2/options.js");
var Option = options.Option;
var OptionSet = options.OptionSet;
var Option = Shumway.Options.Option;
var OptionSet = Shumway.Options.OptionSet;
var coreOptions = new OptionSet("Core Options");

load($SHUMWAY_ROOT + "src/swf/Timeline.js");
Expand Down
3 changes: 3 additions & 0 deletions web/iframe/viewer.js
Expand Up @@ -123,6 +123,9 @@ var FileLoadingService = {
};

function parseSwf(url, movieParams, objectParams, compilerSettings) {
var enableVerifier = Shumway.AVM2.Runtime.enableVerifier;
var EXECUTION_MODE = Shumway.AVM2.Runtime.EXECUTION_MODE;

enableVerifier.value = compilerSettings.verifier;

console.log("Compiler settings: " + JSON.stringify(compilerSettings));
Expand Down

0 comments on commit 86638c9

Please sign in to comment.