Commit Graph

13 Commits

Author SHA1 Message Date
Hristo Deshev
86481cce4a Make typings compatible with @types/node.
Fixes name clashes and uses Node-compatible typings where possible.

Changes:
 - setTimout et al now return NodeJS.Timer instead of number
 - No "console" module anymore. Everyone uses it through global.console
 anyway.
 - We have a typed "global" instance with exposed properties now. Any
 "freeform" accesses must go through a `(<any>global).blah` cast.
 - remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
 as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +02:00
Rossen Hristov
d8e062da85 Fix: application.setCssFileName does not work 2017-01-04 15:23:59 +02:00
Rossen Hristov
e6d64799d8 Fix: Android platform.screen.mainScreen props are not invalidated after orientation change
Resolves #3270
2017-01-03 11:17:06 +02:00
Panayot Cankov
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Nedyalko Nikolov
0b7ea27fd5 Export set function for cssFile and resources. 2016-11-25 14:55:22 +02:00
tzraikov
097367274b Merge pull request #2522 from NativeScript/raikov/fix-livesync-css-angular
Fixed: CSS is not automatically livesynced in angular apps
2016-08-01 16:22:04 +03:00
Tsvetan Raikov
ce83da8ba3 Fixed: CSS is not automatically livesynced in angular apps 2016-07-28 14:59:16 +03:00
Hristo Deshev
540594454f Add bundle entrypoint registration module. 2016-06-29 15:57:05 +03:00
Panayot Cankov
c1aeeb51a7 Inital by-type split
Split type.class from CssTypeSelector to CssCompositeSelector, probably support type#id.class selectors

Apply review comments, refactor css-selectors internally

Applied refactoring, all tests pass, button does not notify changes

Add tests for the css selectors parser.

Added tests for css-selectors

Added basic implementation of mayMatch and changeMap for css match state

Implemented TKUnit.assertDeepEqual to check key and key/values in Map and Set

Watch for property and pseudoClass changes

Add one child group test

Add typings for animations

Added mechanism to enable/disable listeners for pseudo classes

Count listeners instead of checking handlers, reverse subscription and unsubscription
2016-07-18 17:24:09 +03:00
Vladimir Enchev
2ef6757216 builder cached 2016-05-30 15:56:37 +03:00
Vladimir Enchev
caebf280ab LiveSync improved 2016-05-27 16:58:46 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00