Skip to content
Browse files

Fixes bundle and bundle testing

  • Loading branch information...
1 parent 992b768 commit 86638c91f99570e703a17ffe96b1669a3b482668 @yurydelendik yurydelendik committed Feb 28, 2014
Showing with 6 additions and 4 deletions.
  1. +1 −2 utils/builder/templates/avm2utils.js
  2. +2 −2 utils/builder/templates/scripts.js
  3. +3 −0 web/iframe/viewer.js
View
3 utils/builder/templates/avm2utils.js
@@ -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/";
View
4 utils/builder/templates/scripts.js
@@ -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");
View
3 web/iframe/viewer.js
@@ -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));

0 comments on commit 86638c9

Please sign in to comment.
Something went wrong with that request. Please try again.