mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
@@ -532,7 +532,7 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) {
|
||||
|
||||
export var test_getString_FromVariousUrls_ShouldWorkProperly = function (done) {
|
||||
var urls = [
|
||||
"http://api.openweathermap.org/data/2.5/find?q=London,uk",
|
||||
"http://it-ebooks-api.info/v1/book/1615005640",
|
||||
"http://www.telerik.com",
|
||||
"https://spreadsheets.google.com/tq?key=1tJ64Y8hje0ui4ap9U33h3KWwpxT_-JuVMSZzxD2Er8k"
|
||||
];
|
||||
|
||||
@@ -39,7 +39,7 @@ export function buttonTap(args: observable.EventData) {
|
||||
}
|
||||
}
|
||||
|
||||
http.getString("http://api.openweathermap.org/data/2.5/find?q=London,uk").then(r=> {
|
||||
http.getString("http://it-ebooks-api.info/v1/book/1615005640").then(r=> {
|
||||
console.log("R: " + r)
|
||||
});
|
||||
|
||||
|
||||
17
gruntfile.js
17
gruntfile.js
@@ -519,6 +519,15 @@ module.exports = function(grunt) {
|
||||
]);
|
||||
|
||||
grunt.registerTask("default", ((typeof(grunt.option('runtslint')) != "undefined" && !grunt.option('runtslint')) ? [] : ["tslint:build"]).concat([
|
||||
"just-build",
|
||||
|
||||
"pack-apps",
|
||||
"pack-ts-apps",
|
||||
"pack-definitions",
|
||||
"get-ready-packages"
|
||||
]));
|
||||
|
||||
grunt.registerTask("just-build", ((typeof(grunt.option('runtslint')) != "undefined" && !grunt.option('runtslint')) ? [] : ["tslint:build"]).concat([
|
||||
"clean:build",
|
||||
"shell:getGitSHA",
|
||||
|
||||
@@ -531,12 +540,8 @@ module.exports = function(grunt) {
|
||||
"distribute-ts-apps-files",
|
||||
"distribute-definition-files",
|
||||
|
||||
"pack-modules",
|
||||
"pack-apps",
|
||||
"pack-ts-apps",
|
||||
"pack-definitions",
|
||||
"get-ready-packages"
|
||||
]));
|
||||
"pack-modules"
|
||||
]));
|
||||
|
||||
grunt.registerTask("testEnv", function() {
|
||||
console.log('fafla', process.env.NODE_PATH);
|
||||
|
||||
Reference in New Issue
Block a user