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;
chore(build): update TypeScript version to unreleased beta Also fixup the typings which were broken by changes in typescript's lib.d.ts
2015-04-28 16:21:08 -07:00
export var NaN = typeof NaN;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 54ms 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