Skip to content

Commit

Permalink
#23 Fixed clipboard.js import by downgrading to 1.7.1 & added favicon…
Browse files Browse the repository at this point in the history
…. Deploying to production.
  • Loading branch information
nadnoslen committed Nov 10, 2018
1 parent d2b81f4 commit 2ece205
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion install_ember_addons.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

yarn add clipboard --dev
yarn add --dev clipboard@^1.7.1

ember install @fortawesome/ember-fontawesome
yarn add @fortawesome/free-solid-svg-icons --dev
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@fortawesome/free-solid-svg-icons": "^5.5.0",
"bootstrap": "^4.1.0",
"broccoli-asset-rev": "^2.4.5",
"clipboard": "^2.0.1",
"clipboard": "^1.7.1",
"ember-ajax": "^3.0.0",
"ember-auto-import": "^1.2.15",
"ember-cli": "~2.18.2",
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Text Support Mixins</title>
<link rel="shortcut icon" href="https://www.emberjs.com/images/favicon-b8f150dd.png"/>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for "head"}}
Expand Down
18 changes: 8 additions & 10 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@
<a href="https://circleci.com/gh/cybertoothca/ember-cli-text-support-mixins" target="_blank">
<img alt="built with ember-cli-2.18" class="shadow"
src="https://img.shields.io/badge/Built_With_ember--cli-2.18.2-orange.svg"></a>
{{!--
{{#copy-install-to-clipboard}}
<img
alt="click to copy install command"
class="shadow"
src="https://img.shields.io/badge/Install-ember_install_ember--cli--text--support--mixins-lightgray.svg"
title="Click to copy the intall command to your clipboard.">
{{/copy-install-to-clipboard}}
--}}
{{#copy-install-to-clipboard}}
<img
alt="click to copy install command"
class="shadow"
src="https://img.shields.io/badge/Install-ember_install_ember--cli--text--support--mixins-lightgray.svg"
title="Click to copy the intall command to your clipboard.">
{{/copy-install-to-clipboard}}
</div>
</section>

Expand All @@ -67,7 +65,7 @@
2018
</small>
</div>
<div class="col-12 col-md">
<div class="col-12 col-md text-center">
<h5>Other Projects</h5>
<ul class="list-unstyled text-small">
<li>
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2900,9 +2900,9 @@ cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"

clipboard@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.1.tgz#a12481e1c13d8a50f5f036b0560fe5d16d74e46a"
clipboard@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b"
dependencies:
good-listener "^1.2.2"
select "^1.1.2"
Expand Down

0 comments on commit 2ece205

Please sign in to comment.