joosy 1.2.0.alpha.21 → 1.2.0.alpha.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9faeb080979ca702273c6e5eb971899925e2056e
4
- data.tar.gz: d17e7c30af87b1ec7ee2df13d9b3a96dd9cf28c1
3
+ metadata.gz: 8c51bb04903944c48ab249797c9540d12e12c14e
4
+ data.tar.gz: a9933ae2203b4f036b78f2caa9ebfb37a6bf23ff
5
5
  SHA512:
6
- metadata.gz: 20d5d31fe50f9a65076aeb087e178bb498d4d14d8bd9cc5f962ca0403827b474ec5c0bd01d43736e3650fc7cc3e1472f28e33aa8390462de51abde4363ef09e4
7
- data.tar.gz: 5c426d803a35ba1a1d16fe19fa5ff93c9963bd9819958d833e8cf862dd007874bcd8ac2c5fd994f7034ce081bb151a85cb9f8554bc90ca9a79c33af55c2572ef
6
+ metadata.gz: 6ce612c5ddff5bf8f49799e7139b3ff9defdad2822018f141073de80fb1bd214118dac2eba71b80c897a3d2b828543ca791f8f1009d7e43d402bd50064d276f0
7
+ data.tar.gz: 5da3f72b3891585dc72c37d11d368b0bf242cf31c30d965debe9b37dde49012b3f311802c53b121a358275c420645422a0501550d1433c76c66ef40eafee7954
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joosy",
3
- "version": "1.2.0-alpha.21",
3
+ "version": "1.2.0-alpha.22",
4
4
  "main": "lib/joosy.js",
5
5
  "ignore": [
6
6
  "bin",
@@ -14,7 +14,7 @@
14
14
  "lib/**/*.rb"
15
15
  ],
16
16
  "dependencies": {
17
- "jquery": "~2.0.2",
17
+ "jquery": "~1.10.1",
18
18
  "sugar": "~1.3.9",
19
19
  "jquery-form": "~3.32.0-2013.04.09"
20
20
  },
data/lib/joosy.js CHANGED
@@ -355,11 +355,11 @@ var __slice = [].slice;
355
355
 
356
356
  Joosy.Modules.Events = {
357
357
  wait: function(name, events, callback) {
358
- this.__oneShotEvents || (this.__oneShotEvents = Object.extended());
358
+ this.__oneShotEvents || (this.__oneShotEvents = {});
359
359
  if (Object.isFunction(events)) {
360
360
  callback = events;
361
361
  events = name;
362
- name = this.__oneShotEvents.keys().length.toString();
362
+ name = Object.keys(this.__oneShotEvents).length.toString();
363
363
  }
364
364
  events = this.__splitEvents(events);
365
365
  this.__validateEvents(events);
@@ -367,11 +367,11 @@ Joosy.Modules.Events = {
367
367
  return name;
368
368
  },
369
369
  bind: function(name, events, callback) {
370
- this.__boundEvents || (this.__boundEvents = Object.extended());
370
+ this.__boundEvents || (this.__boundEvents = {});
371
371
  if (Object.isFunction(events)) {
372
372
  callback = events;
373
373
  events = name;
374
- name = this.__boundEvents.keys().length.toString();
374
+ name = Object.keys(this.__boundEvents).length.toString();
375
375
  }
376
376
  events = this.__splitEvents(events);
377
377
  this.__validateEvents(events);
data/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "joosy"
6
6
  ],
7
- "version": "1.2.0-alpha.21",
7
+ "version": "1.2.0-alpha.22",
8
8
  "author": "Boris Staal <boris@staal.io>",
9
9
  "homepage": "http://joosy.ws/",
10
10
  "repository": {
@@ -15,13 +15,13 @@ Joosy.Modules.Events =
15
15
  # @param [Hash] options Options
16
16
  #
17
17
  wait: (name, events, callback) ->
18
- @__oneShotEvents ||= Object.extended()
18
+ @__oneShotEvents ||= {}
19
19
 
20
20
  # unnamed binding
21
21
  if Object.isFunction(events)
22
22
  callback = events
23
23
  events = name
24
- name = @__oneShotEvents.keys().length.toString()
24
+ name = Object.keys(@__oneShotEvents).length.toString()
25
25
 
26
26
  events = @__splitEvents events
27
27
  @__validateEvents events
@@ -37,13 +37,13 @@ Joosy.Modules.Events =
37
37
  # @param [Hash] options Options
38
38
  #
39
39
  bind: (name, events, callback) ->
40
- @__boundEvents ||= Object.extended()
40
+ @__boundEvents ||= {}
41
41
 
42
42
  # unnamed binding
43
43
  if Object.isFunction(events)
44
44
  callback = events
45
45
  events = name
46
- name = @__boundEvents.keys().length.toString()
46
+ name = Object.keys(@__boundEvents).length.toString()
47
47
 
48
48
  events = @__splitEvents events
49
49
  @__validateEvents events
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joosy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.alpha.21
4
+ version: 1.2.0.alpha.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Staal