Skip to content

Commit

Permalink
Merge pull request #33 from cheekiatng/timob-23446
Browse files Browse the repository at this point in the history
[TIMOB-23446] Hyperloop: iOS: Error when built with TiCore
  • Loading branch information
hansemannn committed May 30, 2016
2 parents bfd0473 + fb33cee commit f860f3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metabase/ios/templates/class.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,12 @@ function $initialize () {
$init = true;
}
/**
* ticore compatibility with ES6
*/
Object.setPrototypeOf = Object.setPrototypeOf || function(obj, proto) {
obj.__proto__ = proto;
return obj;
}
module.exports = <%= data.class.name %>;

0 comments on commit f860f3c

Please sign in to comment.