diff --git a/content/ember-cli/v4/ember-cli-blacklist-whitelist-build-options.md b/content/ember-cli/v4/ember-cli-blacklist-whitelist-build-options.md index c02e6407..1e30c0c0 100644 --- a/content/ember-cli/v4/ember-cli-blacklist-whitelist-build-options.md +++ b/content/ember-cli/v4/ember-cli-blacklist-whitelist-build-options.md @@ -9,14 +9,12 @@ displayId: ember-cli.blacklist-whitelist-build-options Using the `blacklist` and `whitelist` build options has been deprecated. Please use `exclude` and `include` respectively instead. -```diff -// ember-cli-build.js - +```js {data-filename="ember-cli-build.js" data-diff="-4,+5"} module.exports = function (defaults) { const app = new EmberApp(defaults, { addons: { -- blacklist: ['addon-name'], -+ exclude: ['addon-name'], + blacklist: ['addon-name'], + exclude: ['addon-name'], }, }; }; diff --git a/content/ember-cli/v5/ember-cli-output-paths-build-option.md b/content/ember-cli/v5/ember-cli-output-paths-build-option.md index 45604545..37e846e4 100644 --- a/content/ember-cli/v5/ember-cli-output-paths-build-option.md +++ b/content/ember-cli/v5/ember-cli-output-paths-build-option.md @@ -10,21 +10,21 @@ Using the `outputPaths` build option is deprecated, as output paths will no long To resolve the deprecation, please remove the `outputPaths` build option from your `ember-cli-build.js` file: -```diff +```js {data-diff="-3,-4,-5,-6,-7"} module.exports = function (defaults) { const app = new EmberApp(defaults, { -- outputPaths: { -- app: { -- js: `/assets/foo.js`, -- }, -- }, + outputPaths: { + app: { + js: `/assets/foo.js`, + }, + }, }; }; ``` And update your `app/index.html` file accordingly: -```diff +```html {data-diff="-20,+21"} @@ -44,8 +44,8 @@ And update your `app/index.html` file accordingly: {{content-for "body"}} -- -+ + + {{content-for "body-footer"}} diff --git a/content/ember-data/v4/ember-data-deprecate-string-arg-schemas.md b/content/ember-data/v4/ember-data-deprecate-string-arg-schemas.md index 12d2fa6d..e508f52d 100644 --- a/content/ember-data/v4/ember-data-deprecate-string-arg-schemas.md +++ b/content/ember-data/v4/ember-data-deprecate-string-arg-schemas.md @@ -9,7 +9,7 @@ Deprecates `schema.attributesDefinitionFor(type)` and `schema.relationshipsDefin To resolve change: -```diff -- store.getSchemaDefinitionService().attributesDefinitionFor('user') -+ store.getSchemaDefinitionService().attributesDefinitionFor({ type: 'user' }) +```js {data-diff="-1,+2"} +store.getSchemaDefinitionService().attributesDefinitionFor('user') +store.getSchemaDefinitionService().attributesDefinitionFor({ type: 'user' }) ```