This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// Project: HF - Select | |
// Copyright: ©2011 Strobe Inc. | |
// ========================================================================== | |
/*globals Hellfire HF */ | |
/** | |
@class | |
@extends SC.TemplateCollectionView | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/sproutcore-utils/lib/main.js b/packages/sproutcore-utils/lib/main.js | |
new file mode 100644 | |
index 0000000..db3d9a9 | |
--- /dev/null | |
+++ b/packages/sproutcore-utils/lib/main.js | |
@@ -0,0 +1,10 @@ | |
+// ========================================================================== | |
+// Project: SproutCore | |
+// Copyright: ©2006-2011 Strobe Inc. and contributors. | |
+// Portions ©2008-2011 Apple Inc. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/frameworks/core_foundation/ext/handlebars/collection.js b/frameworks/core_foundation/ext/handlebars/collection.js | |
index b790649..b7c094c 100644 | |
--- a/frameworks/core_foundation/ext/handlebars/collection.js | |
+++ b/frameworks/core_foundation/ext/handlebars/collection.js | |
@@ -6,6 +6,7 @@ Handlebars.registerHelper('collection', function(path, options) { | |
var fn = options.fn; | |
var data = options.data; | |
var inverse = options.inverse; | |
+ var hash = options.hash; | |
var collectionClass, collectionObject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view.adjust('left', 0); | |
view.invokeLater('animate', 1, 'left', 200, 0.5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/frameworks/core_foundation/ext/handlebars/collection.js b/frameworks/core_foundation/ext/handlebars/collection.js | |
index 57e3cd2..e163501 100644 | |
--- a/frameworks/core_foundation/ext/handlebars/collection.js | |
+++ b/frameworks/core_foundation/ext/handlebars/collection.js | |
@@ -1,3 +1,5 @@ | |
+/*globals Handlebars */ | |
+ | |
sc_require('ext/handlebars'); | |
Handlebars.registerHelper('collection', function(path, options) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/frameworks/core_foundation/mixins/template_helpers/text_field_support.js b/frameworks/core_foundation/mixins/template_helpers/text_field_support.js | |
index e122f1b..a74312d 100644 | |
--- a/frameworks/core_foundation/mixins/template_helpers/text_field_support.js | |
+++ b/frameworks/core_foundation/mixins/template_helpers/text_field_support.js | |
@@ -8,19 +8,40 @@ | |
*/ | |
SC.TextFieldSupport = /** @scope SC.TextFieldSupport.prototype */{ | |
+ | |
+ /** @private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
record.addObserver('status', this, function observer() { | |
if (record.get('status') === SC.Record.READY_CLEAN) { | |
record.removeObserver('status', this, observer); | |
//... code here | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/frameworks/datastore/system/record_array.js b/frameworks/datastore/system/record_array.js | |
index 0687e78..2f5a109 100644 | |
--- a/frameworks/datastore/system/record_array.js | |
+++ b/frameworks/datastore/system/record_array.js | |
@@ -300,15 +300,17 @@ SC.RecordArray = SC.Object.extend(SC.Enumerable, SC.Array, | |
Extends the standard SC.Enumerable implementation to return results based | |
on a Query if you pass it in. | |
- @param {SC.Query} query a SC.Query object | |
- @param {Object} target the target object to use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/frameworks/core_foundation/system/event.js b/frameworks/core_foundation/system/event.js | |
index 570dea5..7b3095d 100644 | |
--- a/frameworks/core_foundation/system/event.js | |
+++ b/frameworks/core_foundation/system/event.js | |
@@ -142,18 +142,14 @@ SC.mixin(SC.Event, /** @scope SC.Event */ { | |
version = parseFloat(SC.browser.version), | |
didChange = NO; | |
- if (SC.browser.webkit) { | |
- // Check Chrome first since it also responds to safari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the way it was: | |
MyApp.Record = SC.Record.extend({ | |
//.. | |
}); | |
MyApp.Record.isPolymorhic = YES; | |