Git Product home page Git Product logo

Comments (9)

bendrucker avatar bendrucker commented on June 1, 2024

Browserify, technically. Which is awesome and you should absolutely look into. I'll release a UMD version now as I typically do for projects once I've dogfooded them for a little bit.

https://github.com/bendrucker/angular-countdown/blob/v1.2.1/release/angular-countdown.js

So as of 1.2.1 you can install from Bower and just include the script tag. Looking forward to getting feedback since this is pretty new.

from angular-countdown.

cdarken avatar cdarken commented on June 1, 2024

Yeah, I know about browserify and I know it's awesome, but I'm using gulp to concatenate and minify my js, so browserify is not an option for me. I will try the new version again, thank you.

from angular-countdown.

bendrucker avatar bendrucker commented on June 1, 2024

Right, the point is to not just concatenate your scripts 😄

Blog post coming soon on Browserify + Angular

from angular-countdown.

cdarken avatar cdarken commented on June 1, 2024

Yeah. Not usable for me then.

from angular-countdown.

bendrucker avatar bendrucker commented on June 1, 2024

Not sure what you mean by not usable.

from angular-countdown.

cdarken avatar cdarken commented on June 1, 2024

I want to be able to include your js and just add the module name to my module's dependencies. I cannot do this now, or I'm not using the correct module name. Is it 'angular-countdown' ?

from angular-countdown.

bendrucker avatar bendrucker commented on June 1, 2024

It's 'countdown'. I publish with the angular prefix but remove the prefix in the module names.

export default angular.module('countdown', [])

I'll document the name.

from angular-countdown.

cdarken avatar cdarken commented on June 1, 2024

Yeah, line 13 of the generated js. I'm blind. Thanks a lot.

from angular-countdown.

bendrucker avatar bendrucker commented on June 1, 2024

No worries! My mistake for forgetting to include it in the readme.

from angular-countdown.

Related Issues (5)

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.