Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
update example dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
raychenfj committed Oct 7, 2017
1 parent e8a53fa commit 7c8f0ec
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ test/
*.tgz
*.zip
*.ngfactory.ts
.sourcemaps
package/
typings
3 changes: 2 additions & 1 deletion example/ionic.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "ionic2-app-base",
"app_id": "",
"type": "ionic-angular"
"type": "ionic-angular",
"integrations": {}
}
34 changes: 16 additions & 18 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,28 @@
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.0",
"@angular/compiler": "4.1.0",
"@angular/compiler-cli": "4.1.0",
"@angular/core": "4.1.0",
"@angular/forms": "4.1.0",
"@angular/http": "4.1.0",
"@angular/platform-browser": "4.1.0",
"@angular/platform-browser-dynamic": "4.1.0",
"@ionic-native/core": "3.6.1",
"@ionic-native/splash-screen": "3.6.1",
"@ionic-native/status-bar": "3.6.1",
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/compiler-cli": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@ionic-native/core": "4.3.0",
"@ionic-native/splash-screen": "4.3.0",
"@ionic-native/status-bar": "4.3.0",
"@ionic/storage": "2.0.1",
"ionic-angular": "3.2.0",
"ionic-angular": "3.7.1",
"ionicons": "3.0.0",
"rxjs": "5.1.1",
"rxjs": "5.4.3",
"sw-toolbox": "3.6.0",
"zone.js": "^0.8.10",
"zone.js": "0.8.18",
"ion-multi-picker": "^2.1.0"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.7",
"@ionic/cli-plugin-cordova": "1.0.0",
"@ionic/cli-plugin-ionic-angular": "1.0.0",
"typescript": "2.2.1"
"@ionic/app-scripts": "3.0.0",
"typescript": "2.3.4"
},
"repository": {
"type": "git",
Expand Down
14 changes: 11 additions & 3 deletions example/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
<head>
<meta charset="UTF-8">
<title>Ionic App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">

<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#4e8ef7">

<!-- add to homescreen for ios -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">

<!-- cordova.js required for cordova apps -->
<script src="cordova.js"></script>

Expand All @@ -19,7 +23,7 @@
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js')
.then(() => console.log('service worker installed'))
.catch(err => console.log('Error', err));
.catch(err => console.error('Error', err));
}
</script>-->

Expand All @@ -34,7 +38,11 @@
<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>

<!-- The bundle js is generated during the build process -->
<!-- The vendor js is generated during the build process
It contains all of the dependencies in node_modules -->
<script src="build/vendor.js"></script>

<!-- The main bundle js is generated during the build process -->
<script src="build/main.js"></script>

</body>
Expand Down
4 changes: 4 additions & 0 deletions example/src/pages/simple/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
<ion-label>Placeholder</ion-label>
<ion-multi-picker id='placeholder' item-content [multiPickerColumns]="simpleColumns" placeholder="placeholder"></ion-multi-picker>
</ion-item>
<ion-item>
<ion-label>Start Time</ion-label>
<ion-datetime displayFormat="h:mm A" pickerFormat="h mm A" [(ngModel)]="timeStarts"></ion-datetime>
</ion-item>
</ion-content>
1 change: 1 addition & 0 deletions example/src/pages/simple/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {NavController} from 'ionic-angular';
})
export class SimpleExamplePage implements OnInit {
simpleColumns: any[];
timeStarts: any;

constructor(private navCtrl: NavController) {
this.simpleColumns = [
Expand Down

0 comments on commit 7c8f0ec

Please sign in to comment.