atanasovg
f5eb34466e
Some snapshot-specific fixes/improvements.
2016-01-22 11:20:54 +02:00
atanasovg
fbc612610f
Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires.
2016-01-20 10:22:08 +02:00
vakrilov
589c533ad0
Updated __decorate method
2016-01-12 16:22:03 +02:00
Hristo Deshev
18c75d2ba1
Fix zone.js patches by avoiding multiple global moduleMerge's.
...
The previous implementation was calling moduleMerge multiple times for a
required module if it had more than one configured global lazy-loaded
functions/properties. We now keep tracked of merged modules and merge only
the first time.
2015-12-22 15:01:45 +02:00
Hristo Deshev
648e4d216d
Add utils/module-loader - a mechanism to resolve modules at runtime.
...
Exposes a module registration API, that webpack users can use to bundle
"dynamic" modules that are required through some variable.
Falls back to the require API if no module is registered.
Reworked dynamic `require` code to use module-loader:
- navigation: ui/frame.
- XML UI build ui/builder/builder and ui/builder/component-builder.
- module on-demand loads in global functions: globals.
2015-12-14 14:41:16 +02:00
Vladimir Enchev
633c3debab
lazy loading code refactored
2015-12-12 16:00:33 +02:00
Vladimir Enchev
5f0e3fdc58
dialogs and timer lazy require
2015-12-09 11:47:33 +02:00
Vladimir Enchev
850f9d76bc
timer and dialogs modules will be loaded lazy
2015-12-08 15:01:00 +02:00
Hristo Deshev
070b01c544
Remove UTF-8 BOM's from package.json files
2015-12-01 15:37:14 +02:00
Hristo Deshev
77838ae9c6
Change from "classic" TS 1.6 imports to the default resolution scheme.
...
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
Vladimir Enchev
e0f6a0d3c6
console.dump implemented for ios
2015-09-24 14:55:55 +03:00
Erjan Gavalji
23a8c6aba1
Fix tslint errors
2015-07-29 16:42:09 +03:00
Erjan Gavalji
a824a38dff
Add the __decorate function
...
Removing __extends function generation by setting the
noEmitHelpers flag we removed the __decorate as well.
While the __extends exists in the runtimes, __decorate
is an EcmaScript-related functionality, hence its place
is in the modules.
2015-07-29 15:49:26 +03:00
Vladimir Enchev
973fbb9ea9
Fetch tests fixed
2015-07-28 09:32:25 +03:00
atanasovg
4589bc6565
Make moduleMerge the first function (other requires use it).
2015-07-27 19:40:07 +03:00
atanasovg
1439313e7b
Make moduleMerge a global function - this saves a total of 83 requires upon application loading.
2015-07-27 13:04:48 +03:00
Vladimir Enchev
78781b971d
fetch exposed in global context
2015-07-20 15:51:43 +03:00
Vladimir Enchev
e2f464e1d2
FormData support added
2015-07-20 14:42:29 +03:00
Vladimir Enchev
d3c987f827
XMLHttpRequest separated from http module
2015-07-20 10:58:29 +03:00
Vladimir Enchev
078434460d
code fixed
2015-07-07 11:34:32 +03:00
Vladimir Enchev
a5aebe3344
Decorators added and Deprecated decorator implemented
2015-07-07 11:32:32 +03:00
Erjan Gavalji
cc829e0152
definitions fixed
2015-03-03 10:34:40 +02:00
PanayotCankov
9dd3ba70c5
Added "External Ambient Module Declarations" for most modules.
...
Now they are required by module name e.g require("file-system") instead of by file name.
2014-05-21 12:23:19 +03:00
Vladimir Enchev
599bc7c10e
timer tests and snippets added
2014-05-16 16:16:29 +03:00
atanasovg
ed7ea974bf
Added the waitUntilReady in TKUnit. Updated the location_tests to use the new functionality.
2014-05-14 14:20:16 +03:00
Stanimir Karoserov
ceff7bb368
renamed folders with lower cases and renamed user preferences to local settings
2014-05-13 17:59:30 +03:00
Vladimir Enchev
d1652ad831
readme updated
2014-05-12 14:25:03 +03:00
Vladimir Enchev
c9ca0d997b
console moved from application to globals
2014-05-12 14:21:15 +03:00
Vladimir Enchev
db1681a88e
timer moved in separate module
2014-05-10 16:34:23 +03:00
Vladimir Enchev
fbdb0e5523
clearTimeout, setInterval, clearInterval for iOS
2014-05-10 16:23:27 +03:00
Vladimir Enchev
c3abc01b65
readme updated
2014-05-10 15:51:32 +03:00
Vladimir Enchev
e493711328
setTimeout improved and clearTimeout, setInterval, clearInterval implemented for Android
2014-05-10 15:49:15 +03:00
Vladimir Enchev
d270ee82a0
readme updated
2014-05-10 13:19:04 +03:00
Vladimir Enchev
2d701fb5a4
globals module added with setTimeout implementation for both iOS and Android
2014-05-10 13:15:50 +03:00