Skip to content

Commit

Permalink
Merge pull request #18 from Gerhut/master
Browse files Browse the repository at this point in the history
Add D3
  • Loading branch information
justjavac committed Aug 18, 2014
2 parents d1cf27a + 58e583b commit e8663d0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@ var appinfo = {
url: 'http://angularjs.org/',
priority: 1.5
},
'D3': {
icon: 'D3.svg',
url: 'http://d3js.org/',
priority: 2
},

// ==== js tools ====
'Raphael': {
Expand Down
33 changes: 33 additions & 0 deletions apps/D3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@
},
'LiveStreet': function () {
return window.LIVESTREET_SECURITY_KEY;
}
},
'D3': function () {
return window.d3;
}
};

for (var t in js_tests) {
Expand Down Expand Up @@ -430,7 +433,11 @@
'Angular': function () {
if (window.angular && window.angular.version && 'full' in window.angular.version)
return window.angular.version.full;
}
},
'D3': function () {
if (window.d3 && window.d3.version)
return window.d3.version;
}
};

for (var a in _apps) {
Expand Down

0 comments on commit e8663d0

Please sign in to comment.