diff --git a/App/Ionic2/ocm-app/app/pages/search/search.ts b/App/Ionic2/ocm-app/app/pages/search/search.ts index e35b0f1..cc05252 100644 --- a/App/Ionic2/ocm-app/app/pages/search/search.ts +++ b/App/Ionic2/ocm-app/app/pages/search/search.ts @@ -320,7 +320,7 @@ export class SearchPage extends Base implements OnInit { this.log("Viewing/fetching POI Details " + args.poiId); this.searchOnDemand = false; //suspend searches - //this.zone.run(() => { + this.zone.run(() => { this.poiManager.getPOIById(args.poiId, true).subscribe(poi => { this.log("Got POI Details " + poi.ID); @@ -341,7 +341,7 @@ export class SearchPage extends Base implements OnInit { this.appManager.showToastNotification(this.nav, "POI Details not available"); }); - // }); + }); /* diff --git a/App/Ionic2/ocm-app/readme.md b/App/Ionic2/ocm-app/readme.md index 8552368..729a3b6 100644 --- a/App/Ionic2/ocm-app/readme.md +++ b/App/Ionic2/ocm-app/readme.md @@ -48,4 +48,8 @@ ionic plugin add cordova-plugin-whitelist ionic plugin add cordova-plugin-wkwebview-engine ionic plugin add ionic-plugin-keyboard ionic plugin add cordova-plugin-splashscreen -ionic plugin add cordova-plugin-inappbrowser \ No newline at end of file +ionic plugin add cordova-plugin-inappbrowser + +Build: + +ionic build browser --release \ No newline at end of file diff --git a/App/Ionic2/ocm-app/typings.json b/App/Ionic2/ocm-app/typings.json new file mode 100644 index 0000000..fbba3c0 --- /dev/null +++ b/App/Ionic2/ocm-app/typings.json @@ -0,0 +1,7 @@ +{ + "dependencies": {}, + "devDependencies": {}, + "ambientDependencies": { + "es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654" + } +} diff --git a/App/Ionic2/ocm-app/webpack.config.js b/App/Ionic2/ocm-app/webpack.config.js deleted file mode 100644 index 5b9f6ad..0000000 --- a/App/Ionic2/ocm-app/webpack.config.js +++ /dev/null @@ -1,52 +0,0 @@ -var path = require('path'); - - -module.exports = { - entry: [ - path.normalize('es6-shim/es6-shim.min'), - 'reflect-metadata', - path.normalize('zone.js/dist/zone-microtask'), - path.resolve('app/app') - ], - output: { - path: path.resolve('www/build/js'), - filename: 'app.bundle.js', - pathinfo: false // show module paths in the bundle, handy for debugging - }, - plugins: [ - new webpack.optimize.UglifyJsPlugin({minimize: true}) - ], - devtool:"source-map", - module: { - loaders: [ - { - test: /\.ts$/, - loader: 'awesome-typescript', - query: { - doTypeCheck: true, - resolveGlobs: false, - externals: ['typings/browser.d.ts'] - }, - include: path.resolve('app'), - exclude: /node_modules/ - }, - { - test: /\.js$/, - include: path.resolve('node_modules/angular2'), - loader: 'strip-sourcemap' - } - ], - noParse: [ - /es6-shim/, - /reflect-metadata/, - /zone\.js(\/|\\)dist(\/|\\)zone-microtask/ - ] - }, - resolve: { - root: ['app'], - alias: { - 'angular2': path.resolve('node_modules/angular2') - }, - extensions: ["", ".js", ".ts"] - } -}; diff --git a/App/Ionic2/ocm-app/www/index.html b/App/Ionic2/ocm-app/www/index.html index 78f75b1..90e2c59 100644 --- a/App/Ionic2/ocm-app/www/index.html +++ b/App/Ionic2/ocm-app/www/index.html @@ -1,5 +1,5 @@ - +
@@ -16,18 +16,21 @@ - +