social_cheesecake 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,18 +54,20 @@
54
54
  center: {x : 220, y : 220},
55
55
  sectors: [
56
56
  {name:"John Connor Lider de la revolucion" , subsectors : [
57
- {name : "Cassidy",
57
+ {id : 0,
58
+ name : "Cassidy",
58
59
  actors: [
59
60
  [0],
60
61
  [1],
61
62
  [2]
62
63
  ]
63
64
  },
64
- {name : "Cassidy2"}
65
+ {id : 1, name : "Cassidy2"}
65
66
  ]},
66
67
  { name:"3,14159265358979323846264338327950288419716939937510" , subsectors : [
67
- {name : "Abc"},
68
- {name : "Cassidy2",
68
+ {id : 2, name : "Abc"},
69
+ {id : 3,
70
+ name : "Cassidy2",
69
71
  actors: [
70
72
  [3],
71
73
  [4]
@@ -73,33 +75,30 @@
73
75
  }
74
76
  ]},
75
77
  { name:"Luke I am your father", subsectors : [
76
- {name : "Luke I am your father"}
78
+ {id : 4, name : "Luke I am your father"}
77
79
  ]},
78
80
  { name:"Olivia",subsectors : [
79
- {name : "Dunham"},
80
- {name : "FBI"}
81
+ {id : 5, name : "Dunham"},
82
+ {id : 6, name : "FBI"}
81
83
  ]},
82
84
  { name:"Altivia",subsectors : [
83
- {name : "Dunham"},
84
- {name : "FBI"}
85
+ {id : 7, name : "Dunham"},
86
+ {id : 8, name : "FBI"}
85
87
  ]},
86
88
  { name:"Walter",subsectors : [
87
- {name : "Bishop"},
88
- {name : "Craziness",
89
+ {id : 9, name : "Bishop"},
90
+ {id : 10, name : "Craziness",
89
91
  actors: [[3]]
90
92
  }]
91
93
  },
92
94
  { name:"Nina",subsectors : [
93
- {name : "Massive Dynamic"}
95
+ {id : 11, name : "Massive Dynamic"}
94
96
  ]}
95
- ]
97
+ ],
98
+ highlightedSectorCallback : function(sector){
99
+ }
96
100
  };
97
- cheese = new socialCheesecake.Cheesecake(cheesecakeData);
98
- /*
99
- new socialCheesecake.Actor({parent : cheese, imgSrc: "images/youngAlberto.png",
100
- width: 64, height: 64, x : 500, y : 80});
101
- new socialCheesecake.Actor({parent : cheese, imgSrc: "images/youngAlberto.png",
102
- width: 64, height: 64, x : 600, y : 80}); */
101
+ cheese = new socialCheesecake.Cheesecake(cheesecakeData);
103
102
  };
104
103
 
105
104
  </script>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_cheesecake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Alicia D\xC3\xADez"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-22 00:00:00 Z
18
+ date: 2012-01-13 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: railties
@@ -52,6 +52,7 @@ files:
52
52
  - app/assets/javascripts/socialcheesecake/actor.js
53
53
  - app/assets/javascripts/socialcheesecake/cheesecake.js
54
54
  - app/assets/javascripts/socialcheesecake/grid.js
55
+ - app/assets/javascripts/socialcheesecake/search.js
55
56
  - app/assets/javascripts/socialcheesecake/sector.js
56
57
  - app/assets/javascripts/socialcheesecake/text.js
57
58
  - lib/generators/social_cheesecake/install_generator.rb