3481e6f33f
feat(image-cache): expose onError callback ( #6458 )
...
* feat(Cache): better error handling
* refactor(image-cache): add `error` parameter to `_onDownloadError`
Add DownloadError interface.
* refactor(image-cache): updates for iOS
Use arrow functions.
Remove an unnecessary `trace.write().
* refactor(image-cache): updates for Android
Update Android `constructor()`.
Move `key` and `image` check to `set()`.
Update `trace.write`.
* fix(image-cache): onError handling
2018-12-17 11:33:12 +02:00
2fc1d8a8d4
chore(tsc): enable noUnusedLocals compiler option for tns-core-modules ( #5755 )
2018-05-10 16:12:59 +03:00
629eb6e683
Use relative imports in tns-core-modules.
...
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
fec5e92dbe
Fix tracing
2017-01-16 13:29:46 +02:00
6feeb140e3
Fixing type errors in tests
2016-12-19 10:36:25 +02:00
6c3d71cadf
fix modules build errors
2016-12-13 16:07:42 +02:00
19ee47ba24
got to layouts
2016-12-13 15:51:18 +02:00
e895f37f0b
Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility
2016-09-12 14:38:54 +03:00
1236f66f44
Add npm script that generates ios .d.ts-es from the tests app
...
Less than 30 erros left, let's hope it still works
Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills
Roll back some changes involved in separating UIEvent for dom and ios
Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
e135c20b14
Rename the files
2016-05-26 14:30:25 +03:00