ember-mobile / ember-cli-framework7 Goto Github PK
View Code? Open in Web Editor NEWAn ember CLI plugin wrapping Framework7
Home Page: http://ember-mobile.github.io/#/ember-cli-framework7
License: MIT License
An ember CLI plugin wrapping Framework7
Home Page: http://ember-mobile.github.io/#/ember-cli-framework7
License: MIT License
Ember-cli version 2.7
Create a new project, install the add on per instructions, port over the dummy app.
Panel swipe doesn't work, sort doesn't work, search bar is missing
The components code tries to call framweork7 js methods on the f7 service variable instead of the f7 attribute in the f7 service that contains the actual initialized framwork7 object.
I have raised a PR to fix this issue. #18
There is another addon ember-cli-f7 who try to do the same things.
hey thanks for the work so far on this, have you had the chance to mess around any trying to build on top of the Framework7 router (http://www.idangero.us/framework7/docs/router-api.html) using the ember router so you get the Framework7 animations when transitioning between routes?
Instead of:
body > .ember-view {
height: 100%;
}
I think this is better:
.ember-application > .ember-view {
height: 100%;
}
Because there are extra divs during testing. And it will also make it work for ember applications embedded within a page.
I am unable to install the latest version of the code using ember install. I only get the older version according to the data in package.json
I have raised a PR: #15
Using ember-cli
± ember -v 2.1.0
version: 0.1.9
Could not find watchman, falling back to NodeWatcher for file system events
node: 0.10.28
npm: 2.1.8
Generated the new app, then installed:
npm install --save-dev ember-cli-framework7
ember g ember-cli-framework7
Then starting the server fails:
± ember s 2.1.0
version: 0.1.9
Could not find watchman, falling back to NodeWatcher for file system events
Livereload server on port 35729
Serving on http://0.0.0.0:4200/
File: bower_components/framework7/src/js/dom7-intro
Unexpected token (65:6)
SyntaxError: Unexpected token (65:6)
at raise (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:333:15)
at unexpected (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1366:5)
at parseExprAtom (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:2153:7)
at parseExprSubscripts (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:2012:28)
at parseMaybeUnary (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1995:16)
at parseExprOps (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1946:24)
at parseMaybeConditional (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1930:16)
at parseMaybeAssign (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1913:16)
at parseExpression (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1898:16)
at parseStatement (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1586:38)
at parseBlock (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:1826:18)
at parseFunctionBody (/Users/millisami/Emberapps/framework7/node_modules/ember-cli/node_modules/broccoli-es6modules/node_modules/esperanto/node_modules/acorn/acorn.js:2378:19)
Because the example is pointing to the application code with the HTTP protocol while the page is forced to HTTPS, it will not run in Chrome 59.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.