Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Feb 3, 2019
1 parent b4d5317 commit 3d0592b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions demo/app/main-page.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as observable from "tns-core-modules/data/observable";
import * as pages from "tns-core-modules/ui/page";
import {HelloWorldModel} from "./main-view-model";
import * as Toast from "nativescript-toast";

// Event handler for Page "loaded" event attached in main-page.xml
export function pageLoaded(args: observable.EventData) {
Expand All @@ -12,5 +11,4 @@ export function pageLoaded(args: observable.EventData) {

export function onScanResult(scanResult: any) {
console.log(`onScanResult: ${scanResult.text} (${scanResult.format})`);
Toast.makeText(`${scanResult.text} (${scanResult.format})`, "long").show();
}
3 changes: 1 addition & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"dependencies": {
"nativescript-barcodescanner": "file:../src",
"nativescript-theme-core": "^1.0.4",
"nativescript-toast": "^1.4.6",
"nativescript-unit-test-runner": "^0.3.4",
"tns-core-modules": "~5.1.2"
},
Expand All @@ -25,7 +24,7 @@
"nativescript-dev-webpack": "~0.17.0",
"tns-platform-declarations": "^5.0.0",
"tslint": "~5.11.0",
"typescript": "~2.8.2"
"typescript": "~3.1.2"
},
"scripts": {
"build.plugin": "cd ../src && npm run build"
Expand Down
4 changes: 2 additions & 2 deletions demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"declaration": false,
"removeComments": true,
"noLib": false,
"skipLibCheck": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
Expand All @@ -31,8 +32,7 @@
}
},
"include": [
"../src",
"**/*"
"./"
],
"exclude": [
"../src/node_modules",
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"devDependencies": {
"tns-core-modules": "~5.1.2",
"tns-platform-declarations": "~5.1.2",
"typescript": "~2.8.2",
"typescript": "~3.1.2",
"prompt": "^1.0.0",
"rimraf": "^2.6.2",
"tslint": "^5.11.0",
Expand Down

0 comments on commit 3d0592b

Please sign in to comment.