This file contains hidden or 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
(function() { | |
window.DS = Ember.Namespace.create({ | |
// this one goes to 11 | |
CURRENT_API_REVISION: 11 | |
}); | |
})(); | |
This file contains hidden or 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
commit 3fb6fb00626201fd096b2d8313178e393e0b5903 | |
Author: Matthew Beale <[email protected]> | |
Date: Fri Jan 25 14:15:57 2013 -0500 | |
Add tests for #1866 - loc helper | |
diff --git a/packages/ember-handlebars/lib/helpers/loc.js b/packages/ember-handlebars/lib/helpers/loc.js | |
index d2d1f8b..7b023f5 100644 | |
--- a/packages/ember-handlebars/lib/helpers/loc.js | |
+++ b/packages/ember-handlebars/lib/helpers/loc.js |
This file contains hidden or 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
// Version: v1.0.0-pre.4-36-g0d78336 | |
// Last commit: 0d78336 (2013-01-25 09:21:59 -0800) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
This file contains hidden or 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
# NON-POLY | |
LibraryElement | |
# has what attrs? | |
belongs_to :animated_component, class_name: 'Component' | |
belongs_to :photo_component, class_name: 'Component' | |
belongs_to :audio_component, class_name: 'Component' | |
belongs_to :embedded_html_component | |
belongs_to :stencil_description |
This file contains hidden or 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
routeChanged: (-> | |
Em.run.next -> | |
path = window.location.pathname | |
window._gaq.push(['_trackPageview', path]) | |
).observes('currentPath') |
This file contains hidden or 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
curl -H "Origin: http://tobe-staging.herokuapp.com" http://tobe-staging.storage.googleapis.com/a43259256806cd017d6b2181fa5ad929509787ad-ajc2F9gAYnYvng.gif -s -D - -o /dev/null |
This file contains hidden or 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/list-view/lib/list_view_mixin.js b/packages/list-view/lib/list_view_mixin.js | |
index 2148cf9..6b8bb74 100644 | |
--- a/packages/list-view/lib/list_view_mixin.js | |
+++ b/packages/list-view/lib/list_view_mixin.js | |
@@ -214,6 +214,10 @@ Ember.ListViewMixin = Ember.Mixin.create({ | |
endingIndex = min(maxContentIndex, visibleEndingIndex); | |
this.trigger('scrollYChanged', y); | |
+ console.log('start'); | |
+ var el = this.$('.ember-list-scrolling-view') |
This file contains hidden or 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 Yehuda Katz | |
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: |
This file contains hidden or 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
<script type="text/x-handlebars" id="articles"> | |
{{#each controller itemController="article"}} | |
<figure class="img-wrapper" {{bindAttr style="imgWrapperStyle"}}> | |
</figure> | |
{{/each}} | |
</script> |
This file contains hidden or 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
// Ember.computed.slice managing the array | |
Ember.computed.slice = function(dependentKey, begin, end) { | |
var size = end - begin, | |
slicedIndex; | |
var options = { | |
addedItem: function(array, item, changeMeta, instanceMeta) { | |
slicedIndex = changeMeta.index - begin; | |
if (slicedIndex >= 0 && slicedIndex < size) { | |
if (slicedIndex >= array.length) { | |
array.push(item); |