34 Commits

Author SHA1 Message Date
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
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
e5ec759cbb When XML fragments without code not getting context from parent 2015-12-01 12:28:31 +02:00
af343292b1 Propagate context to template Views 2015-11-30 15:01:38 +02:00
5447b04e86 Refactoring ui/builder and template builder to preserve source information for templates 2015-11-25 15:25:42 +02:00
8bee3ed2d1 Add file, row and column for ui/builder errors 2015-11-25 15:25:42 +02:00
e95820b04a Add Template factory function and use it in the Repeater and ListView components 2015-11-23 12:11:13 +02:00
87e064c417 Fix the broken regex in the builder 2015-11-10 16:57:36 +02:00
4c7b9d59ba Update the regex to search for www OR schemas for the xmlns removal 2015-11-10 15:06:10 +02:00
28d3992e32 Update the builder as well 2015-11-09 15:11:43 +02:00
2f7cf84839 Fixed issue 597. 2015-10-20 15:42:18 +03:00
ede36a16ca Template builder code cleanup 2015-08-13 14:26:09 +03:00
8226d86133 Fix builder issue where builder doesn't pop complex properties correctly. 2015-08-13 13:37:11 +03:00
0468857604 Merge pull request #554 from NativeScript/atanasovg/file-system-api
Atanasovg/file system api
2015-08-10 17:55:10 +03:00
bccd5133a3 FIX: Nested templates are not parsed 2015-08-07 11:44:34 +03:00
c683ea44e6 Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code. 2015-08-04 16:53:12 +03:00
6ebd488735 Application orientation changed event 2015-07-31 11:51:01 +03:00
e52b0c4556 Action bar progress 2015-07-15 09:35:53 +03:00
7c6897bef7 quick fix for "." resolve 2015-07-10 11:22:06 +03:00
999a0c80f3 file resolver added + lint errors fixed 2015-07-09 14:00:16 +03:00
56444fb927 throw error if page not specified 2015-07-09 11:26:45 +03:00
7aae543bd7 Strong types for builder.load parameters. Hopefully better intellisense. 2015-07-09 11:22:59 +03:00
d1ec70286d more fixes & tests added 2015-07-08 18:16:28 +03:00
f478c619d8 support for custom components CSS added 2015-07-08 11:28:13 +03:00
f74d633fc6 console.log removed 2015-07-07 16:43:34 +03:00
09d289131e fileName change to path and componentName changed to name 2015-07-07 15:36:20 +03:00
f999c54e0d better support for custom components loading 2015-07-07 11:57:53 +03:00
7c5d1011cb throw error if nesting platform tags + test 2015-06-17 16:07:42 +03:00
b38d181b67 platform specific component declaration support for UI builder + tests 2015-06-17 10:51:32 +03:00
342bae570d getExports moved to builder 2015-05-25 12:09:15 +03:00
c192aba30e default namespace replaced with regex 2015-04-29 10:58:16 +03:00
efcc0d0ddf support for custom components inside templates with tests 2015-04-24 14:44:12 +03:00
04f5c7b20f properties will be copied to the custom component with XML + tests 2015-04-22 17:07:03 +03:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00