Skip to content

Commit

Permalink
fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adufilie committed Mar 22, 2016
1 parent d592981 commit 34a8378
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WeaveJS/src/weavejs/data/ColumnUtils.as
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ package weavejs.data
if (!keys)
keys = getAllKeys(getColumnsFromFormat(format, []));
var records:Array = new Array(keys.length);
for (var i:int in keys)
for (var i:String in keys)
records[i] = getRecord(format, keys[i], dataType);
return records;
}
Expand Down
2 changes: 1 addition & 1 deletion WeaveJS/src/weavejs/path/ExternalTool.as
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ package weavejs.path
{
JS.global[WEAVE_EXTERNAL_TOOLS][key].window.close();
}
catch (e)
catch (e:Error)
{
// ignore error
}
Expand Down
3 changes: 2 additions & 1 deletion WeaveJS/src/weavejs/util/JSByteArray.as
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ package weavejs.util
*/
public function JSByteArray(data:/*/Uint8Array/*/Array, littleEndian:Boolean = false)
{
this.data = data as JS.Uint8Array || new JS.Uint8Array(data);
var data_any:* = data as JS.Uint8Array || new JS.Uint8Array(data);
this.data = data_any;
this.dataView = new JS.DataView(this.data.buffer, this.data.byteOffset, this.data.length);
this.littleEndian = littleEndian;
this.length = this.data.length;
Expand Down

0 comments on commit 34a8378

Please sign in to comment.