Skip to content

Commit

Permalink
Updated d3 and angular. Pointed demo to local files.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycehewett committed May 21, 2018
1 parent a174b76 commit 86d8c5e
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 28 deletions.
10 changes: 5 additions & 5 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ngRadialGauge Demo</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="../node_modules/angular/angular.min.js"></script>
<script src="../node_modules/d3/dist/d3.min.js" charset="utf-8"></script>
<script src="../src/ng-radial-gauge-dir.js"></script>
<script>

angular.module('RadialGaugeDemo', [
'ngRadialGauge'
]);

angular.module('RadialGaugeDemo').controller('RadialGaugeDemoCtrl', ['$scope', '$timeout', function ($scope, $timeout) {
$scope.value = 1.5;
$scope.upperLimit = 6;
Expand Down Expand Up @@ -55,8 +55,8 @@
}, 1000);
}
update();
}]);
}]);

</script>
</head>
<body ng-app="RadialGaugeDemo">
Expand Down
294 changes: 288 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/stherrienaspnet/ngRadialGauge#readme",
"dependencies": {
"angular": "~1.6.3",
"d3": "~3.5.15"
"angular": "^1.7.0",
"d3": "^5.4.0"
}
}
Loading

0 comments on commit 86d8c5e

Please sign in to comment.