File tree Expand file tree Collapse file tree 3 files changed +5
-37
lines changed Expand file tree Collapse file tree 3 files changed +5
-37
lines changed Original file line number Diff line number Diff line change @@ -1197,36 +1197,20 @@ Leap.PointableList.prototype._delete = function(){
1197
1197
1198
1198
Leap . FingerList = function ( ) { } ;
1199
1199
1200
- Leap . FingerList . prototype = new Array ;
1200
+ Leap . FingerList . prototype = Leap . PointableList . prototype ;
1201
1201
1202
1202
Leap . FingerList . prototype . append = function ( other ) {
1203
1203
for ( i = 0 ; i < other . length ; i ++ ) this . push ( new Leap . Finger ( other [ i ] ) ) ;
1204
1204
} ;
1205
1205
1206
- Leap . FingerList . prototype . count = function ( ) {
1207
- return this . length ;
1208
- } ;
1209
-
1210
- Leap . FingerList . prototype . empty = function ( ) {
1211
- return this . length > 0 ;
1212
- } ;
1213
-
1214
1206
Leap . ToolList = function ( ) { } ;
1215
1207
1216
- Leap . ToolList . prototype = new Array ;
1208
+ Leap . ToolList . prototype = Leap . PointableList . prototype ;
1217
1209
1218
1210
Leap . ToolList . prototype . append = function ( other ) {
1219
1211
for ( i = 0 ; i < other . length ; i ++ ) this . push ( new Leap . Tool ( other [ i ] ) ) ;
1220
1212
} ;
1221
1213
1222
- Leap . ToolList . prototype . count = function ( ) {
1223
- return this . length ;
1224
- } ;
1225
-
1226
- Leap . ToolList . prototype . empty = function ( ) {
1227
- return this . length > 0 ;
1228
- } ;
1229
-
1230
1214
Leap . Screen = function ( data ) {
1231
1215
1232
1216
if ( data ) {
You can’t perform that action at this time.
0 commit comments