Open benjamingeorge opened 10 years ago
@benjamingeorge you're using the wrong file, the capitilized "i" is for iscroll5, if you are using iscroll5 then you must use 1.2b ng-iscroll.js...as readme says:
"AngularJS Module that enables iScroll 4.x to work using a directive. If you are looking for a iScroll 5 compatible version please checkout the ng-iScoll 1.2b branch"
Yeah I saw that. I installed via Bower and since the 1.2 branch of iscroll is the only one with a bower.json I assumed installing it with bower would pull the that branch. Is this not the case? Do I have to download the zip?
On Dec 4, 2013, at 8:25 PM, Diego Lameira notifications@github.com wrote:
@benjamingeorge you're using the wrong file, the capitilized "i" is for iscroll5, if you are using iscroll5 then you must use the 1.2b ng-iscroll.js...as readme says:
"AngularJS Module that enables iScroll 4.x to work using a directive. If you are looking for a iScroll 5 compatible version please checkout the ng-iScoll 1.2b branch"
— Reply to this email directly or view it on GitHub.
Look, you can get sources in bower from specific branches... If you run "bower help install" you'll get something like this:
Endpoints...
Where:
is a valid range, commit, branch, etc.
With that in mind, you can run "bower install ng-iScroll#v1.2b --save-dev"
So, no need to download it manually.
thank you.
On Dec 4, 2013, at 9:14 PM, Diego Lameira notifications@github.com wrote:
Look, you can get sources in bower from specific branches... If you run "bower help install" you'll get something like this:
Endpoints...
Where:
is a valid range, commit, branch, etc. With that in mind, you can run "bower install ng-iScroll#v1.2b --save-dev" So, no need to download it manually. — Reply to this email directly or view it on GitHub.
Thank you @diegolameira ! This small line (how to install a specific branch) saved me lots of time. Thank you!
This helped me as well. It might be worthwhile to stick a comment in the readme about getting the v1.2b branch for Bower noobs like me.
On line 82 you have 'new iScroll' which resulted in an undefined error. To get this to work in my angular project I needed a capital " I " such as "new IScroll() "