angular-highcharts-directive icon indicating copy to clipboard operation
angular-highcharts-directive copied to clipboard

Removing JQuery dependency

Open jhiemer opened this issue 11 years ago • 5 comments

Is it possible to remove the JQuery dependency?

jhiemer avatar Aug 07 '13 14:08 jhiemer

Highcharts recently did this. It's called like Highcharts Framework or something but they became independent of jQuery.

clouddueling avatar Aug 17 '13 01:08 clouddueling

@clouddueling that's not what I meant. The directive currently uses JQuery here:

https://github.com/rootux/angular-highcharts-directive/blob/master/src/directives/highchart.js#L33

jhiemer avatar Aug 17 '13 06:08 jhiemer

I hope this project isn't dead but I've since forked it and modified it on my own.

I use angular.extend instead: https://gist.github.com/clouddueling/6270582

clouddueling avatar Aug 19 '13 16:08 clouddueling

This project isn't dead. I was just vacationning in the east. @clouddueling Can I override my original $.extend with your angular.extend. Since I'm using deep copy True with $.extend. isn't it better I use the angular.copy?

rootux avatar Sep 05 '13 13:09 rootux

I updated the gist with my most recent version. https://gist.github.com/clouddueling/6270582 It was a straight replacement for $.extend.

clouddueling avatar Sep 05 '13 15:09 clouddueling