Giter Site home page Giter Site logo

circular-progress-indicator's People

Contributors

kenadia avatar

Watchers

 avatar  avatar

circular-progress-indicator's Issues

learn to use grunt

http://gruntjs.com/

You can use this to automate parts of your workflow:

  • coffeelinting
  • compiling coffee -> js
  • taking css -> adding vendor prefixing
  • watching deveopment files and auto-compiling when things change
  • live-reloading your browser as you develop

testing the arcs

how would u test that the arcs drawn are visually correct? that the arc itself is at the 50% position or the 75% position or any other percent?

move styles into css if possible, use class names

make arc is taking in css hex

makeArc r * 0.82, r * 0.87, "#C7E596", scope.expected * 2 * Math.PI

it doesn't need to, style should be pushed into css, send class names instead so that designers can tweak the look and feel without knowing coffeescript

window resizer isn't good

this snippet of code is not production quality, why not bind to the window's resize event?
also, this should be debounced and you need to do proper cleanup.

    window.onresize = ->
      scope.$apply()
      return

likewise, this looks like a hack too

scope.$watch (->
      angular.element(window)[0].innerWidth
    ), scope.render

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.