Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

phonegap-template-vue-f7-blank

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phonegap-template-vue-f7-blank - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

2

package.json
{
"name": "phonegap-template-vue-f7-blank",
"version": "1.1.2",
"version": "1.2.0",
"description": "A blank PhoneGap template using Vue.js and Framework7",

@@ -5,0 +5,0 @@ "main": "index.js",

{
"name": "my-app",
"name": "myapp",
"version": "1.0.0",

@@ -23,14 +23,14 @@ "description": "A blank PhoneGap template using Vue.js and Framework7",

"framework7-vue": "^0.9.2",
"vue": "^2.1.0"
"vue": "^2.5.3"
},
"devDependencies": {
"autoprefixer": "^6.4.0",
"babel-core": "^6.0.0",
"babel-eslint": "^7.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-istanbul": "^3.0.0",
"babel-plugin-transform-runtime": "^6.0.0",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.0.0",
"babel-register": "^6.0.0",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-istanbul": "^4.1.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-env": "^1.3.2",
"babel-register": "^6.22.0",
"chai": "^3.5.0",

@@ -87,3 +87,3 @@ "chalk": "^1.1.3",

"vue-style-loader": "^1.0.0",
"vue-template-compiler": "^2.1.0",
"vue-template-compiler": "^2.5.3",
"webpack": "^1.13.2",

@@ -90,0 +90,0 @@ "webpack-dev-middleware": "^1.8.3",

@@ -1,3 +0,1 @@

/* global window document f7 */
import 'babel-polyfill';

@@ -62,27 +60,1 @@

});
function handleBackButton () {
// NOTE: The back button will behave differently depending on circumstance
// If the side panel is open, close it
if (document.querySelector('.panel-left.active')) {
// This will do nothing when the split-view is open
return f7.closePanel();
}
// Close modals
// @TODO How to handle modals we shouldn't close like a login-screen?
if (document.querySelector('.modal-in')) {
return f7.closeModal();
}
// If we have a back button, we want it to go back
if (f7.mainView.history.length > 1) {
return f7.mainView.router.back();
}
// Default to closing the app
return window.navigator.app.exitApp();
}
// Ye olde Device Ready
document.addEventListener('deviceready', () => {
// Bind to the back button for Android
document.addEventListener('backbutton', handleBackButton);
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc