Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change image.android to use the new image.Cache class from widgets. (#…
…2832) * Change image.android to use the new image.Cahce class from widgets. * fix npm scripts * npm tsc will compile all so no need for npm run dev-tsc-tests * fix tslint error * image-tests use memory only cache. * fix exception in image.android * Change image-tests so that Image won't be GC immediately. * Change cacheMode to enum
- Loading branch information
Hristo Hristov
committed
Oct 5, 2016
1 parent
3b99ed3
commit 98deecc
Showing
14 changed files
with
336 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,70 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch on iOS Device", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
}, | ||
{ | ||
"name": "Attach on iOS Device", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
}, | ||
{ | ||
"name": "Launch on iOS Emulator", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": true | ||
}, | ||
{ | ||
"name": "Attach on iOS Emulator", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": true | ||
}, | ||
{ | ||
"name": "Launch on Android Device", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
}, | ||
{ | ||
"name": "Launch on Android Emulator", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": true | ||
}, | ||
{ | ||
"name": "Attach on Android Device", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
}, | ||
{ | ||
"name": "Attach on Android Emulator", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}/tests", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": true | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Sync on iOS", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false, | ||
"rebuild": false, | ||
"syncAllFiles": false | ||
}, | ||
{ | ||
"name": "Launch on iOS", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false, | ||
"rebuild": true | ||
}, | ||
{ | ||
"name": "Attach on iOS", | ||
"type": "nativescript", | ||
"platform": "ios", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
}, | ||
{ | ||
"name": "Sync on Android", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false, | ||
"rebuild": false | ||
}, | ||
{ | ||
"name": "Launch on Android", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "launch", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false, | ||
"rebuild": true | ||
}, | ||
{ | ||
"name": "Attach on Android", | ||
"type": "nativescript", | ||
"platform": "android", | ||
"request": "attach", | ||
"appRoot": "${workspaceRoot}", | ||
"sourceMaps": true, | ||
"diagnosticLogging": false, | ||
"emulator": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "0.1.0", | ||
"command": "tsc", | ||
"isShellCommand": true, | ||
"args": ["-p", "."], | ||
"showOutput": "silent", | ||
"problemMatcher": "$tsc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.