Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/modules/angular2/src/facade/math.ts

10 lines
295 B
TypeScript
Raw Normal View History

chore(ts): duplicate the .es6 files in the facade directory to TypeScript. Adds a gulp task which builds the .ts files (in the cjs build only). The new files have extension .ts since they are now valid typescript. Unfortunately until Typescript can emit System.require, we have to keep the old .es6 version so traceur works inside the Karma preprocessor. This should be fixed soon.
2015-04-01 10:45:56 -07:00
import {global} from 'angular2/src/facade/lang';
// HACK: workaround for Traceur behavior.
// It expects all transpiled modules to contain this marker.
// TODO: remove this when we no longer use traceur
export var __esModule = true;
export var Math = global.Math;
fix(build): revert typescript upgrade which broke the build. This reverts commit a7a9463624f40c17105abe4574794e0fc8302c24. This reverts commit 59824e40e8354e5b8c70c8c0f81dfce2c0ecb2f4.
2015-04-29 10:49:18 -07:00
export var NaN = global.NaN;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 62ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API