From fc31691b0ffb82e173255e3f01472b855696790a Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Mon, 9 Sep 2024 11:17:01 -0700 Subject: [PATCH] removed 'apple-' prefix from all instances --- lib/tags/apple.js | 2 +- node-tests/unit/index-test.js | 2 +- node-tests/unit/tags/apple-test.js | 18 +++++++++--------- .../docs/manifest/available-properties.md | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/tags/apple.js b/lib/tags/apple.js index 35c1b00e..03e278f3 100644 --- a/lib/tags/apple.js +++ b/lib/tags/apple.js @@ -65,7 +65,7 @@ function capability(manifest, tags) { let standalone = ['fullscreen', 'standalone'].includes(manifest.display); if ((standalone && webAppCapable !== false) || webAppCapable === true) { - tags.push(meta({ name: 'apple-mobile-web-app-capable', content: 'yes' })); + tags.push(meta({ name: 'mobile-web-app-capable', content: 'yes' })); } } diff --git a/node-tests/unit/index-test.js b/node-tests/unit/index-test.js index adbb4744..6e8f0df7 100644 --- a/node-tests/unit/index-test.js +++ b/node-tests/unit/index-test.js @@ -29,7 +29,7 @@ describe('Unit', function () { index .contentFor('head') .includes( - '' + '' ) ); }); diff --git a/node-tests/unit/tags/apple-test.js b/node-tests/unit/tags/apple-test.js index fe84fdec..bfdc0750 100644 --- a/node-tests/unit/tags/apple-test.js +++ b/node-tests/unit/tags/apple-test.js @@ -123,7 +123,7 @@ describe('Unit', function () { assert.ok( apple(manifest).includes( - '' + '' ) ); }); @@ -135,7 +135,7 @@ describe('Unit', function () { assert.ok( apple(manifest).includes( - '' + '' ) ); }); @@ -147,7 +147,7 @@ describe('Unit', function () { assert.ok( !apple(manifest).includes( - '' + '' ) ); }); @@ -159,7 +159,7 @@ describe('Unit', function () { assert.ok( !apple(manifest).includes( - '' + '' ) ); }); @@ -169,7 +169,7 @@ describe('Unit', function () { assert.ok( !apple(manifest).includes( - '' + '' ) ); }); @@ -184,7 +184,7 @@ describe('Unit', function () { assert.ok( !apple(manifest).includes( - '' + '' ) ); }); @@ -199,7 +199,7 @@ describe('Unit', function () { assert.ok( !apple(manifest).includes( - '' + '' ) ); }); @@ -214,7 +214,7 @@ describe('Unit', function () { assert.ok( apple(manifest).includes( - '' + '' ) ); }); @@ -229,7 +229,7 @@ describe('Unit', function () { assert.ok( apple(manifest).includes( - '' + '' ) ); }); diff --git a/tests/dummy/app/templates/docs/manifest/available-properties.md b/tests/dummy/app/templates/docs/manifest/available-properties.md index 79e91821..b5b29a50 100644 --- a/tests/dummy/app/templates/docs/manifest/available-properties.md +++ b/tests/dummy/app/templates/docs/manifest/available-properties.md @@ -105,7 +105,7 @@ manifest.display = 'fullscreen'; | Target | Generates | | ---------- | ---------------------------------------------------------- | | `manifest` | `{ "display": "fullscreen" }` | -| `apple` | `` | +| `apple` | `` | | `ms` | does not apply | | `android` | does not apply | @@ -318,7 +318,7 @@ manifest.apple = false; ### `apple.webAppCapable` \* -> Overrides `manifest.display` for the generation of the `apple-mobile-web-app-capable` meta tag. +> Overrides `manifest.display` for the generation of the `mobile-web-app-capable` meta tag. Possible values: @@ -337,7 +337,7 @@ manifest = { | Target | Generates | | ---------- | ---------------------------------------------------------- | | `manifest` | does not apply | -| `apple` | `` | +| `apple` | `` | | `ms` | does not apply | | `android` | does not apply |