Permalink
Browse files

Initial Commit

  • Loading branch information...
0 parents commit 4817b8a609c0df5e554b97cc39be0893d169dcad @wagenet committed May 18, 2012
Showing with 20,686 additions and 0 deletions.
  1. +18 −0 app.js
  2. +20,150 −0 ember.js
  3. +28 −0 index.html
  4. +4 −0 jquery-1.7.2.min.js
  5. +486 −0 yard.json.js
18 app.js
@@ -0,0 +1,18 @@
+YardViewer = Ember.Application.create({
+
+ load: function(data) {
+ data["@graph"].forEach(function(item) {
+ if (item.type === 'module') {
+ var module = YardViewer.Module.create(item);
+ YardViewer.modulesController.pushObject(module);
+ }
+ });
+ }
+
+});
+
+YardViewer.Module = Ember.Object.extend();
+
+YardViewer.modulesController = Ember.ArrayProxy.create({
+ content: []
+});
Oops, something went wrong.

0 comments on commit 4817b8a

Please sign in to comment.