Commit Graph

22 Commits

Author SHA1 Message Date
Hristo Deshev
437e220c42 Zone-aware versions of certain APIs: setTimeout/setInterval mostly.
Instead of waiting for zone.js to patch our global declarations and break
the lazy module loading optimizations there, we'll let it patch stuff
before "globals" gets loaded, so that it doesn't touch (and break) the code
there.

Of course, that requires that functions that need legit patching need to be
made aware of the zone, or get patched later on. The global.zonedCallback
function makes that easy, and we use it for setTimeout/setInterval.
2016-03-31 18:29:42 +03:00
Hristo Hristov
6273bb8d2f FrameClass implemented as TypeScript class
NativeActivity is now NativeScriptActivity and is real class
Added NativeScriptApplication class
Added JavaProxy attribute to FrameClass, NativeScriptActivity & NativeScriptApplication
2016-02-29 09:58:05 +02:00
Vladimir Enchev
ef7394f80f Experimental decorator added 2016-02-15 15:48:54 +02:00
Hristo Deshev
213cf8848c Move module-related global declares to a separate file. 2016-02-11 15:08:49 +02:00
Hristo Deshev
14494fc0ba Separate WeakMap to its own d.ts file.
Exclude in es6-shim compiles (Angular) to avoid name clashes.
2015-10-09 10:23:58 +03:00
Rossen Hristov
ae49f82b68 Removed the lib.d.ts reference to fix the build. 2015-08-28 16:40:28 +03:00
Rossen Hristov
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
Rossen Hristov
09c00cb13b Animations Spike 2015-07-29 15:24:38 +03:00
Vladimir Enchev
78781b971d fetch exposed in global context 2015-07-20 15:51:43 +03:00
Vladimir Enchev
272597f7bd global XMLHttpRequest declaration extended 2015-07-20 14:52:04 +03:00
Vladimir Enchev
42946cead5 TypeScript definitions updated 2015-07-10 14:45:42 +03:00
Vladimir Enchev
a5aebe3344 Decorators added and Deprecated decorator implemented 2015-07-07 11:32:32 +03:00
Hristo Deshev
2e96a8382d Expose the response property on XMLHttpRequest in the d.ts file 2015-06-30 17:41:47 +03:00
Hristo Deshev
51a56a2aea Support responseType property on XMLHttpRequest.
Only default, "" and "text" supported for now. Raising an error otherwise.
2015-06-15 17:17:13 +03:00
Hristo Deshev
f109cbe80b Support onload/onerror events on XMLHttpRequest. 2015-06-15 17:17:13 +03:00
Hristo Deshev
690a11fed4 Pull ES6 promises to a separate d.ts file.
So we can use the es6-promise typing in the future.
2015-06-11 15:35:13 +03:00
Antoine Rousseau
2c305772c8 Add Node's 'exports' to declarations (same as module.exports) 2015-05-22 14:21:06 +02:00
Erjan Gavalji
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
Stanimir Karoserov
826050eda0 updated camera & console 2014-05-21 19:05:34 +03:00
Vladimir Enchev
bbd8fd92ea android application fixed + web client android implementation 2014-03-20 16:17:49 +02:00
Stanimir Karoserov
3f290abdf7 BCL: added console, added references, added libjs.d.ts based on MS lib.d.ts without DOM 2014-03-18 12:42:36 +02:00
atanasovg
39b505384a New BCL approach & BuildTasks 2014-03-12 18:26:58 +02:00