简体   繁体   中英

Traceur compiler: normalize / resolve

As I understood I can use traceur compiler in two ways:

  • compile scripts and then include already compiled into my app
  • use traceur in browser so all scripts will be transformed in app's runtime

So how can I use normalize and resolve functions? As I know they should be stored under System namespace - System.normalize = function(){...} and System.resolve = function(){...}

I added them, but they were not called.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM