From 540bbe3d73d50b8038fe86242e4b43d236a6c921 Mon Sep 17 00:00:00 2001 From: Matthew Beale Date: Mon, 10 Aug 2020 19:44:33 -0400 Subject: [PATCH] Update 3.0 docs --- README.md | 4 +- .../docs/guides/main/legacy-usage/template.md | 39 +------------------ 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index b5e42a3b5..db14f3a83 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ An addon to support large data set and a number of features around table. Ember Table can handle over 100,000 rows without any rendering or performance issues. -Ember Table 3 supports: +Ember Table 3.x supports: * Ember 2.4 to latest version of Ember. -For legacy platforms, the final release of Ember Table 2 (2.2.3) supports: +For older platforms, the final release of Ember Table 2.x (2.2.3) supports: * Ember 1.11-3.8+ * IE11+ diff --git a/tests/dummy/app/pods/docs/guides/main/legacy-usage/template.md b/tests/dummy/app/pods/docs/guides/main/legacy-usage/template.md index 137df6d28..41b45c0e3 100644 --- a/tests/dummy/app/pods/docs/guides/main/legacy-usage/template.md +++ b/tests/dummy/app/pods/docs/guides/main/legacy-usage/template.md @@ -1,11 +1,8 @@ # Legacy Usage -Ember Table is backwards compatible and tested back to Ember 1.11! It's meant to -be a fully replacement for Ember Table 1, and we intend to provide a path -forward for all of our original users, and any other applications that may be -stuck in the days of `ListView` et. al. +Ember Table is compatible (and tested) with Ember 2.4 and up. -## Usage with Ember 2.3-2.11 +## Usage with Ember 2.4-2.11 You may have noticed that all of the examples for Ember Table on this docs site are using angle bracket syntax (.e.g. `foo-bar`). This is an exciting new @@ -44,35 +41,3 @@ or the original [angle bracket invocation rfc](https://github.com/emberjs/rfcs/b {{/t.foot}} {{/ember-table}} ``` - -## Usage with Ember 1.11-2.2 - -When using Ember Table with versions of Ember that do not yet support contextual -components, you can invoke its' component directly and manually pass the `api` -object forward: - -```hbs -{{#ember-table data-test-ember-table=true as |t|}} - {{#ember-thead api=t columns=columns as |h|}} - {{#ember-tr api=h as |r|}} - {{ember-th api=r}} - {{/ember-tr}} - {{/ember-thead}} - - {{#ember-tbody api=t rows=rows as |b|}} - {{#ember-tr api=b as |r|}} - {{#ember-td api=r as |cellValue|}} - {{cellValue}} - {{/ember-td}} - {{/ember-tr}} - {{/ember-tbody}} - - {{#ember-tfoot api=t rows=footerRows as |f|}} - {{#ember-tr api=f as |r|}} - {{#ember-td api=r as |cellValue|}} - {{cellValue}} - {{/ember-td}} - {{/ember-tr}} - {{/ember-tfoot}} -{{/ember-table}} -```