oblador / angular-parallax

Lightweight & performant parallax scrolling for angular.js.
http://oblador.github.io/angular-parallax/
MIT License
203 stars 44 forks source link

sample page is broken #24

Closed williandandrade closed 2 years ago

williandandrade commented 9 years ago

I'm using Chrome 45.0.2454.85 on Windows 10.

TypeError: Cannot read property 'compile' of undefined
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:44:276
    at Array.forEach (native)
    at q (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:7:280)
    at Object.<anonymous> (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:44:209)
    at Object.d [as invoke] (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:35:36)
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:36:288
    at Object.c [as get] (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:34:305)
    at ba (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:58:283)
    at ca (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:49:263)
    at N (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js:47:351)

http://oblador.github.io/angular-parallax/

oblador commented 9 years ago

Cannot reproduce with 45.0.2454.85 on OSX. Try again in incognito mode.

williandandrade commented 9 years ago

capture

Same problem. I can test later on my osx machine.

williandandrade commented 9 years ago

@oblador, works on OSX!

Probably is a specific problem with Chrome running on windows.

oblador commented 9 years ago

Very strange, don't have access to a Windows comp atm. Can you please investigate? :-)

williandandrade commented 9 years ago

I can try. I downloaded the project and access the page in the "example" directory and the error didn't happen. I found differences between published example code and example in the source code, perhaps an update to the "gh-pages" solve the problem.

ettiennegous commented 6 years ago

Can confirm the version of the JS file on Github pages is not working. I made a CodePen to illustrate here https://codepen.io/ettman/pen/wPpVVX

If I just copy the minified JS file from the repo into my pen rather than ref the file from github pages it starts working.

TL;DR This file is stuffed http://oblador.github.io/angular-parallax/angular-parallax.min.js