Giter Club home page Giter Club logo

Comments (5)

harm-less avatar harm-less commented on August 14, 2024

Hey, thanks for the effort of figuring this out and posting your findings.

You're right about the bower install instructions. It appears I had forgotten to update this. I'll take at look at this tonight and update them.
The hl.sticky module name should be correct. I checked the source from 0.1.0. Are you sure you're using that version?

And about the name, I struggled with it a lot. Every normal name was taken and Angular Sticky is what it is. So although the name doesn't match up in Bower, I just went with it.

The plugin is still under heavy development because it's quite new, so I'm still trying to work out the best approach on how to handle certain things. I think in a month or 2 I'll have a 1.0.0 version ready. I don't think the API will change very much anymore though.

from angular-sticky.

redskyburning avatar redskyburning commented on August 14, 2024

Thanks for the quick reply, I saw you already fixed the bower line. I just retested hl.sticky vs hl-sticky and using hl.sticky throws the following error (testing in chrome) :

angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module frodo due to: Error: [$injector:modulerr] Failed to instantiate module hl.sticky due to: Error: [$injector:nomod] Module 'hl.sticky' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Switching to hl-sticky removes the error. Looking in angular-sticky.js the module is defined as 'hl-sticky'. Bower claims I'm using v 1.0.1, which doesn't make much sense if you're working on 0.1.0. I see this version on CLI when installing and looking at the bower.json bower_components/angular-sticky/. Not sure what's going on, I'm starting to suspect some bower weirdness.

I'm going to keep playing with it today and see if I can actually get it running within my app, will give you feedback when I do.

from angular-sticky.

redskyburning avatar redskyburning commented on August 14, 2024

Cloned the repo directly, and it's very different from what is on bower. Locally I now see hl.sticky and the version is listed as 0.1.0.

from angular-sticky.

harm-less avatar harm-less commented on August 14, 2024

I did fix fix the bower line, I'll update the demo page soon as well. I'm currently implementing a few features that aren't quite ready yet.

And I must admit I had been playing with version numbers a few weeks back, but I find it hard to imagine you've only had this problem just now... Though, that's the only thing I could think of that would cause your problem.

from angular-sticky.

harm-less avatar harm-less commented on August 14, 2024

I just noticed a release called 1.0.1 which was an old one. I've deleted it, because I think that release was what caused your problem. I went back to 0.*.* releases after that release as I don't feel like the project is ready for production just yet.

P.s.: I just made another (pre)release and the demo is updated in the process. The demo page has the correct installation instructions too.

from angular-sticky.

Related Issues (20)

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.