Skip to content

Commit

Permalink
#29 changed highcharts to local ref
Browse files Browse the repository at this point in the history
  • Loading branch information
itayw committed Mar 31, 2014
1 parent 9e9a91c commit 3f68dba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,17 @@ joolaio.init = function (options, callback) {
script.onload = function () {
done();
};
script.src = 'http://code.highcharts.com/highcharts.js';
script.src = '/js/highcharts.js';
document.head.appendChild(script);

done();
};
script.src = 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js';
script.src = '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js';
document.head.appendChild(script);

done();
};
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js';
script.src = '//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js';
document.head.appendChild(script);
}
else if (typeof (Highcharts) === 'undefined') {
Expand All @@ -157,7 +157,7 @@ joolaio.init = function (options, callback) {
script.onload = function () {
done();
};
script.src = 'http://code.highcharts.com/highcharts.js';
script.src = '//code.highcharts.com/highcharts.js';
document.head.appendChild(script);
}

Expand Down

0 comments on commit 3f68dba

Please sign in to comment.