13 Commits

Author SHA1 Message Date
dfcbe6c319 style: formatting and whitespaces (#7840) 2019-09-19 15:40:31 +03:00
a569bb2931 fix(timer): setTimeout/setInterval support for boolean period (#7569)
* Fix setTimeout/setInterval can't be called with boolean period

* Add typings and a test

* Revert typings

* Ignore the wrong type
2019-08-02 16:06:03 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
9423ae40fa test: Fixed unstable timer test (#5449) 2018-02-21 13:07:26 +02:00
075e70e336 cache page on forward navigation (#4652)
* cache page on forward navigation
Still some failing navigation tests

* Current page is kept alive when navigating forward
Refactoring code and removing all hacks and flags
Remove one module circular reference

* Disable Page recycling because when there is transition between pages the nativeView stays animated (e.g. when transition is Fade the hidden page nativeView stays with Alpha 0)
Disable recycling if there is native anitmation

* Fix failing tests on ios & android API17
Fix wrong urls in http tests
Made some timer tests async

* Animations are not stored in BackstackEntry instead of Fragment because fragments could die (activity die) and recreated and we lose animations.

* Fix android crash when activity is recreated.
Refactoring transitionListener.
2017-08-07 17:24:12 +03:00
30d4e93e3a Fix timer snippets (#4437) 2017-06-21 15:23:48 +03:00
3b75471e92 snippet fix for timer (#4418)
* snippet fix for timer

* timer test fix
2017-06-20 17:58:02 +03:00
7e39bfb9d4 Standard timers - fix for #4384 (#4389)
Specifications define timers capable of accepting optional parameters.
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers

This PR goal is to standardize such behavior in NativeScript too.
2017-06-15 23:19:49 +03:00
04b9b39c65 Fix doc snippets. (#3882)
* Remove a duplicate snippet: image-create-datauri
* Remove a reference to a missing snippet: console-dump
* Readd a missing snippet: imagesource-resname
* Fix a broken snippet reference: timer-set-ten
* Fix a broken snippet reference: timer-set-fifty
2017-03-28 11:04:37 +03:00
7b5ef052fd Tests moved into separate folders (#3794)
Fix android crash on application exit
2017-03-15 12:26:54 +02:00