rasputin 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -24,10 +24,13 @@ Examples :
24
24
  todos/templates/item.handlebars >> SC.TEMPLATES['todos_item']
25
25
  todos/ui/templates/stats.handlebars >> SC.TEMPLATES['todos_ui_stats']
26
26
 
27
- Changelog :
27
+ ChangesLog :
28
28
 
29
- 0.6.0 :
30
- - update to lates sproutcore 2 (beta3)
31
- - lots of fixes for sproutcore-jui
32
- 0.7.0 :
33
- - add sproutcore-bricks
29
+ 0.7.0 :
30
+
31
+ * add sproutcore-bricks
32
+
33
+ 0.6.0 :
34
+
35
+ * update to lates sproutcore 2 (beta3)
36
+ * lots of fixes for sproutcore-jui
@@ -1,3 +1,3 @@
1
1
  module Rasputin
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -9227,7 +9227,7 @@ var Binding = SC.Object.extend({
9227
9227
  // Display warning for users using the SC 1.x-style API.
9228
9228
  sc_assert("notEmpty should only take a placeholder as a parameter. You no longer need to pass null as the first parameter.", arguments.length < 2);
9229
9229
 
9230
- if (!placeholder) { placeholder = SC.EMPTY_PLACEHOLDER; }
9230
+ if (placeholder == undefined) { placeholder = SC.EMPTY_PLACEHOLDER; }
9231
9231
 
9232
9232
  this.transform({
9233
9233
  to: function(val) { return empty(val) ? placeholder : val; }
@@ -9245,7 +9245,7 @@ var Binding = SC.Object.extend({
9245
9245
  @returns {SC.Binding} this
9246
9246
  */
9247
9247
  notNull: function(placeholder) {
9248
- if (!placeholder) { placeholder = SC.EMPTY_PLACEHOLDER; }
9248
+ if (placeholder == undefined) { placeholder = SC.EMPTY_PLACEHOLDER; }
9249
9249
 
9250
9250
  this.transform({
9251
9251
  to: function(val) { return val == null ? placeholder : val; }
@@ -10765,7 +10765,7 @@ SC.View = SC.Object.extend(
10765
10765
  var view = this.parentView;
10766
10766
 
10767
10767
  while (view) {
10768
- if (property in view.parentView) { return view; }
10768
+ if (property in view) { return view; }
10769
10769
  view = view.parentView;
10770
10770
  }
10771
10771
  },
@@ -10912,7 +10912,7 @@ SC.View = SC.Object.extend(
10912
10912
 
10913
10913
  // VIEW-TODO: Unit test this path.
10914
10914
  var childViews = get(this, 'childViews');
10915
- for (var i=lengthBefore; i<lengthAfter; i++) {
10915
+ for (var i=lengthAfter-1; i>=lengthBefore; i--) {
10916
10916
  childViews[i] && childViews[i].destroy();
10917
10917
  }
10918
10918
  },
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rasputin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.0
5
+ version: 0.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Chavard
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-14 00:00:00 Z
13
+ date: 2011-08-18 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -80,6 +80,7 @@ files:
80
80
  - vendor/assets/javascripts/sproutcore-i18n.js
81
81
  - vendor/assets/javascripts/sproutcore-jui.js
82
82
  - vendor/assets/javascripts/sproutcore-statechart.js
83
+ - vendor/assets/javascripts/sproutcore-touch.js
83
84
  - vendor/assets/javascripts/sproutcore.js
84
85
  - vendor/assets/stylesheets/aristo.css
85
86
  - vendor/assets/stylesheets/jquery-ui.css