Skip to content

Commit

Permalink
fixed DataView support in IE8-9
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Mar 1, 2015
1 parent 4abe1ab commit df5ba67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/js/html/compat/DataView.hx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class DataView {
}

static function __init__() untyped {
var DataView = __js__('typeof(window) != "undefined" && window.DataView') || (__js__('typeof(global) != "undefined" && global.DataView')) || _new;
var DataView = __js__('typeof(window) != "undefined" && window.DataView') || (__js__('typeof(global) != "undefined" && global.DataView')) || DataView;
}

}

0 comments on commit df5ba67

Please sign in to comment.