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/runtime/ext/array.js b/frameworks/runtime/ext/array.js | |
new file mode 100644 | |
index 0000000..5c68305 | |
--- /dev/null | |
+++ b/frameworks/runtime/ext/array.js | |
@@ -0,0 +1,92 @@ | |
+// ========================================================================== | |
+// Project: SproutCore Costello - Property Observing Library | |
+// 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/runtime/core.js b/frameworks/runtime/core.js | |
index ce3660c..871ca7a 100644 | |
--- a/frameworks/runtime/core.js | |
+++ b/frameworks/runtime/core.js | |
@@ -785,333 +785,3 @@ SC.ORDER_DEFINITION = [ SC.T_ERROR, | |
SC.T_OBJECT, | |
SC.T_FUNCTION, | |
SC.T_CLASS ]; | |
- |
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
// we'll want to make this more specific later | |
{ | |
"/sproutcore/bootstrap": ".*", | |
"/sproutcore/jquery": ".*", | |
"/sproutcore/handlebars": ".*", | |
"/sproutcore/runtime": ".*", | |
"/sproutcore/core_foundation": ".*", | |
"/sproutcore/foundation": ".*", | |
"/sproutcore/desktop": [ | |
"core.js", |
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
myPane.didCreateLayer = function() { | |
this.invokeLater('animate', 1, 'top', 0, 0.3); | |
}; | |
myPane.append(); |
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/tests/views/template/handlebars.js b/frameworks/core_foundation/tests/views/template/handlebars.js | |
index 3d56746..b8f203a 100644 | |
--- a/frameworks/core_foundation/tests/views/template/handlebars.js | |
+++ b/frameworks/core_foundation/tests/views/template/handlebars.js | |
@@ -633,6 +633,27 @@ test("Child views created using the view helper should have their parent view se | |
equals(childView, childView.childViews[0].parentView, 'parent view is correct'); | |
}); | |
+test("Child views created using the view helper should have their IDs registered for events", function() { | |
+ TemplateTests = {}; |
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/Buildfile b/Buildfile | |
index 7336ba3..bedf185 100644 | |
--- a/Buildfile | |
+++ b/Buildfile | |
@@ -30,9 +30,10 @@ config :bootstrap, :required => [], :use_modules => false | |
config :jquery, :required => [] | |
config :handlebars, :required => [] | |
config :runtime, :required => [:jquery] | |
-config :datetime, :required => [:runtime] | |
+config :'datetime/core', :required => [:runtime] |
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/models/record.js b/frameworks/datastore/models/record.js | |
index 58a15aa..8245552 100644 | |
--- a/frameworks/datastore/models/record.js | |
+++ b/frameworks/datastore/models/record.js | |
@@ -900,6 +900,29 @@ SC.Record.mixin( /** @scope SC.Record */ { | |
*/ | |
ignoreUnknownProperties: NO, | |
+ /** | |
+ If YES, then searches for records of this type will return |
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
Copyright (C) 2011 by Strobe Inc | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in |
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
// controllers/accounts_page.js | |
MyApp.accountsPageController = SC.Object.create({ | |
nowShowing: 'MyApp.accountsPage.defaultView' | |
}); | |
// resources/main_page.js |
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/tests/views/template_view/handlebars.js b/frameworks/core_foundation/tests/views/template_view/handlebars.js | |
index 8d80c05..626d0e8 100644 | |
--- a/frameworks/core_foundation/tests/views/template_view/handlebars.js | |
+++ b/frameworks/core_foundation/tests/views/template_view/handlebars.js | |
@@ -578,3 +578,25 @@ test("should be able to bind boolean element attributes using {{bindAttr}}", fun | |
ok(view.$('input').attr('disabled'), 'attribute exists after update'); | |
ok(!view.$('input').attr('checked'), 'attribute is not present after update'); | |
}); | |
+ | |
+test("should be able to add multiple classes using {{bindAttr class}}", function() { |