ember-deferred-content
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -6,4 +6,10 @@ import Ember from 'ember'; | ||
export default Component.extend({ | ||
const DeferredContentComponent = Component.extend({ | ||
layout | ||
}); | ||
DeferredContentComponent.reopenClass({ | ||
positionalParams: ['promise'] | ||
}); | ||
export default DeferredContentComponent; |
{ | ||
"name": "ember-deferred-content", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Fancy pants handling of async content", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/danmcclain/ember-deferred-content", |
@@ -15,3 +15,3 @@ # ember-deferred-content | ||
{{! This assumes that post has an async relationship called comments}} | ||
{{#deferred-content promise=post.comments as |d|}} | ||
{{#deferred-content post.comments as |d|}} | ||
{{#d.settled}} | ||
@@ -18,0 +18,0 @@ <h2>Comments</h2> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9633
157