From b76be74af98bd03ef795843babd044b10ca39c70 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Sun, 31 Jan 2016 18:34:26 +0600 Subject: [PATCH] use strict --- Tools/FlashExport2.jsfl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Tools/FlashExport2.jsfl b/Tools/FlashExport2.jsfl index 5352670..069de10 100644 --- a/Tools/FlashExport2.jsfl +++ b/Tools/FlashExport2.jsfl @@ -63,9 +63,8 @@ if ( typeof Object.create != 'function' ) { } Temp.prototype = O; var obj = new Temp(); - Temp.prototype = null; // Let's not keep a stray reference to O... + Temp.prototype = null; if (arguments.length > 1) { - // Object.defineProperties does ToObject on its first argument. var Properties = Object(arguments[1]); for (var prop in Properties) { if (hasOwn.call(Properties, prop)) { @@ -80,6 +79,8 @@ if ( typeof Object.create != 'function' ) { (function() { + "use strict"; + // ---------------------------------------------------------------------------- // // ft @@ -527,7 +528,7 @@ if ( typeof Object.create != 'function' ) { .attr("index" , this.get_index()) .attr("duration" , this.frame.duration) .attr("tween_type" , this.frame.tweenType) - .attr("tween_easing", this.frame.tweenEasing) + .attr("tween_easing", this.frame.tweenEasing); ft.array_foreach(this.frame.elements, function(element) { this.export_element(frame_node, element); }.bind(this));