cotag / orbicular

A CSS based circular progress bar for AngularJS
MIT License
47 stars 15 forks source link

Eliminating the need to have jQuery for this plugin to work #2

Closed richardbolt closed 10 years ago

richardbolt commented 10 years ago

Just a simple switch of the usage of element.width() for element.prop('offsetWidth') so that jQuery is not required.

Some users of Angular prefer not to load jQuery and want to use the default jQlite that comes with Angular - this will accommodate both sets of users by using .prop() in place of the unsupported-by-jqlite width(). All tests still pass.

Thanks!

stakach commented 10 years ago

Thanks! LGTM

stakach commented 10 years ago

Released as v1.0.2 on bower.