Skip to content

Commit

Permalink
fix dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-evans committed Jun 3, 2017
1 parent a11cea8 commit 656c7ae
Show file tree
Hide file tree
Showing 4 changed files with 259 additions and 52 deletions.
15 changes: 14 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ module.exports = function(defaults) {
if (project.findAddonByName('ember-native-dom-event-dispatcher')) {
options.vendorFiles = { 'jquery.js': null };
}
var app = new EmberAddon(defaults, options);
var app = new EmberAddon(defaults, options, {
// Add options here
fingerprint: {
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map', 'eot', 'ttf', 'woff', 'woff2', 'svg'],
prepend: '/ember-autoresize/'
},
sassOptions: {
includePaths: ['tests/dummy/app']
},
svgJar: {
strategy: 'inline',
sourceDirs: ['tests/dummy/public/assets/images']
}
});

/*
This build file specifies the options for the dummy test app of this
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
"ember-code-snippet": "^1.8.0",
"ember-disable-prototype-extensions": "^1.1.0",
"ember-export-application-global": "^2.0.0",
"ember-inline-svg": "0.1.11",
"ember-load-initializers": "^1.0.0",
"ember-native-dom-event-dispatcher": "^0.6.1",
"ember-native-dom-helpers": "^0.4.1",
"ember-resolver": "^4.1.0",
"ember-source": "^2.13.3",
"ember-svg-jar": "^0.10.3",
"loader.js": "^4.0.10"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions tests/dummy/app/templates/index.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<header>
<h1>{{inline-svg 'icon'}} ember-autoresize</h1><nav>
<h1>{{svg-jar 'icon'}} ember-autoresize</h1><nav>
<a href="#docs">Docs</a>
<a href="https://github.com/tim-evans/ember-autoresize" target="__blank">GitHub</a>
</nav>
</header>

<div class="hero">
<p>Autoresizing text fields for your <img class="ember-logo" alt="ember" src="assets/images/ember-logo.png" /> app</p>
<a class="more" href="#installation">{{inline-svg 'arrow'}}</a>
<a class="more" href="#installation">{{svg-jar 'arrow'}}</a>
</div>

<section id="installation">
Expand Down
Loading

0 comments on commit 656c7ae

Please sign in to comment.