Giter VIP home page Giter VIP logo

angular-snap.js-bower's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-snap.js-bower's Issues

list of deps

I'm trying to get angular-snap.js working with brunch.io. I'm not sure where the problem lies, but I keep getting an error saying "Dependency "snapjs" is not present in the list of deps....Specify correct dependency in bower.json or contact package author.

Cannot call method 'some' of undefined error with bower-canary

I installed the node module bower-canary because it fixed some errors I was getting.
I have no problem installing bower modules, but I got this error when trying to install angular-snap:

bower install angular-snap
bower cached        git://github.com/angular/bower-angular.git#1.0.7
bower validate      1.0.7 against git://github.com/angular/bower-angular.git#>= 1.0.6
bower cached        git://github.com/components/jquery.git#2.0.3
bower validate      2.0.3 against git://github.com/components/jquery.git#*
bower cached        git://github.com/angular/bower-angular.git#1.0.7
bower validate      1.0.7 against git://github.com/angular/bower-angular.git#*
bower error         Cannot call method 'some' of undefined

Stack trace:
TypeError: Cannot call method 'some' of undefined
    at Manager.<anonymous> (/usr/local/lib/node_modules/bower-canary/lib/core/Manager.js:271:30)
    at Array.filter (native)
    at Manager._onFetchSuccess (/usr/local/lib/node_modules/bower-canary/lib/core/Manager.js:270:39)
    at /usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:1126:30
    at _fulfilled (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:703:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:732:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:669:13)
    at /usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:495:49
    at flush (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:106:17)
    at process._tickCallback (node.js:415:13)

Console trace:
Trace
    at StandardRenderer.error (/usr/local/lib/node_modules/bower-canary/lib/renderers/StandardRenderer.js:66:17)
    at EventEmitter.updateNotifier.packageName (/usr/local/lib/node_modules/bower-canary/bin/bower:108:18)
    at EventEmitter.emit (events.js:95:17)
    at /usr/local/lib/node_modules/bower-canary/lib/commands/install.js:27:17
    at _rejected (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:713:24)
    at /usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:739:30
    at Promise.when (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:979:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:661:41)
    at /usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:543:44
    at flush (/usr/local/lib/node_modules/bower-canary/node_modules/q/q.js:106:17)

iPhone Rotation Issue

I may be useful to have these styles for html and body to prevent iPhone rotation problems:

html, body {
    /* These styles are in snap.css */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Add this to prevent iPhone rotation */
    position: absolute;
}

See jakiestfu/Snap.js#173.

main property in bower.json

Hi,

In the bower.json, there is a main property

  "main": [
    "angular-snap.js",
    "angular-snap.min.js",
    "angular-snap.css",
    "angular-snap.min.css"
  ]

It should be

  "main": [
    "angular-snap.js",
    "angular-snap.css"
  ]

Tools like grunt bower-install expects bower.json to register one primary endpoint of each file, not the file + the minified version.

Best regards

Sometimes stops working

I don't really know how to provide any extra debug info, other than that when I use the class to designate a button to open the sidebar OR if I use snapper.open('left') on my non touch enabled device it doesn't open. I've put a breakpoint in when I use javascript and have used snapper.state() and both before and after the call to open it the state is closed.

My partner on the team hasn't had this issue, but his dev environment has a touch enabled screen. Maybe it's something that turns on when a user doesn't have any touch enabled screens?

If I can help any more, just let me know and I'll do whatever it needs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.