-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
704d998
commit 25358ea
Showing
10 changed files
with
316 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
{ | ||
/** | ||
Ember CLI sends analytics information by default. The data is completely | ||
anonymous, but there are times when you might want to disable this behavior. | ||
|
||
Setting `disableAnalytics` to true will prevent any data from being sent. | ||
*/ | ||
"disableAnalytics": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`util @generatePreviewHead should work with file created with \`ember build\` 1`] = ` | ||
"<!-- This file is auto-generated by ember-cli-storybook --> | ||
<meta name=\\"storybook-ember-3-1/config/environment\\" content=\\"%7B%22modulePrefix%22%3A%22storybook-ember-3-1%22%2C%22environment%22%3A%22test%22%2C%22rootURL%22%3A%22/%22%2C%22locationType%22%3A%22none%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%7D%7D%2C%22APP%22%3A%7B%22LOG_ACTIVE_GENERATION%22%3Afalse%2C%22LOG_VIEW_LOOKUPS%22%3Afalse%2C%22rootElement%22%3A%22%23ember-testing%22%2C%22autoboot%22%3Afalse%2C%22name%22%3A%22storybook-ember-3-1%22%2C%22version%22%3A%220.0.0+eebe77e5%22%7D%2C%22exportApplicationGlobal%22%3Atrue%7D\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/vendor.css\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/storybook-ember-3-1.css\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/test-support.css\\" /> | ||
<script src=\\"./testem.js\\"></script> | ||
<script src=\\"./assets/vendor.js\\"></script> | ||
<script>runningTests = true; Ember.testing=true;</script> | ||
<script src=\\"./assets/test-support.js\\"></script> | ||
<script src=\\"./assets/storybook-ember-3-1.js\\"></script> | ||
<script src=\\"./assets/tests.js\\"></script>" | ||
`; | ||
exports[`util @generatePreviewHead should work with file created with \`ember serve\` (should append livereload pointing at serve instance) 1`] = ` | ||
"<!-- This file is auto-generated by ember-cli-storybook --> | ||
<meta name=\\"storybook-ember-3-1/config/environment\\" content=\\"%7B%22modulePrefix%22%3A%22storybook-ember-3-1%22%2C%22environment%22%3A%22test%22%2C%22rootURL%22%3A%22/%22%2C%22locationType%22%3A%22none%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%7D%7D%2C%22APP%22%3A%7B%22LOG_ACTIVE_GENERATION%22%3Afalse%2C%22LOG_VIEW_LOOKUPS%22%3Afalse%2C%22rootElement%22%3A%22%23ember-testing%22%2C%22autoboot%22%3Afalse%2C%22name%22%3A%22storybook-ember-3-1%22%2C%22version%22%3A%220.0.0+eebe77e5%22%7D%2C%22exportApplicationGlobal%22%3Atrue%7D\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/vendor.css\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/storybook-ember-3-1.css\\" /> | ||
<link rel=\\"stylesheet\\" href=\\"./assets/test-support.css\\" /> | ||
<script> | ||
(function() { | ||
var srcUrl = null; | ||
var host = location.hostname || 'localhost'; | ||
var defaultPort = location.protocol === 'https:' ? 443 : 80; | ||
var port = undefined; | ||
var path = ''; | ||
var prefixURL = ''; | ||
var src = srcUrl || prefixURL + '/_lr/livereload.js?port=' + port + '&host=' + host + path; | ||
var script = document.createElement('script'); | ||
script.type = 'text/javascript'; | ||
script.src = location.protocol + '//' + host + ':undefined' + src; | ||
document.getElementsByTagName('head')[0].appendChild(script); | ||
}()); | ||
</script> | ||
<script src=\\"./testem.js\\"></script> | ||
<script src=\\"./assets/vendor.js\\"></script> | ||
<script>runningTests = true; Ember.testing=true;</script> | ||
<script src=\\"./assets/test-support.js\\"></script> | ||
<script src=\\"./assets/storybook-ember-3-1.js\\"></script> | ||
<script src=\\"./assets/tests.js\\"></script>" | ||
`; | ||
exports[`util @parse should be able to parse metas from a built html file from an app that uses engines 1`] = ` | ||
Array [ | ||
Object { | ||
"content": "%7B%22modulePrefix%22%3A%22vault%22%2C%22environment%22%3A%22development%22%2C%22rootURL%22%3A%22/ui/%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%7D%7D%2C%22APP%22%3A%7B%22POLLING_URLS%22%3A%5B%22sys/health%22%2C%22sys/replication/status%22%2C%22sys/seal-status%22%5D%2C%22NAMESPACE_ROOT_URLS%22%3A%5B%22sys/health%22%2C%22sys/seal-status%22%2C%22sys/license/features%22%5D%2C%22DEFAULT_PAGE_SIZE%22%3A15%2C%22LOG_TRANSITIONS%22%3Atrue%7D%2C%22flashMessageDefaults%22%3A%7B%22timeout%22%3A7000%2C%22sticky%22%3Afalse%7D%2C%22contentSecurityPolicyHeader%22%3A%22Content-Security-Policy%22%2C%22contentSecurityPolicyMeta%22%3Atrue%2C%22contentSecurityPolicy%22%3A%7B%22connect-src%22%3A%5B%22%27self%27%22%5D%2C%22img-src%22%3A%5B%22%27self%27%22%2C%22data%3A%22%5D%2C%22form-action%22%3A%5B%22%27none%27%22%5D%2C%22script-src%22%3A%5B%22%27self%27%22%5D%2C%22style-src%22%3A%5B%22%27unsafe-inline%27%22%2C%22%27self%27%22%5D%2C%22default-src%22%3A%5B%22%27none%27%22%5D%2C%22font-src%22%3A%5B%22%27self%27%22%5D%2C%22media-src%22%3A%5B%22%27self%27%22%5D%7D%2C%22emberData%22%3A%7B%22enableRecordDataRFCBuild%22%3Afalse%7D%2C%22exportApplicationGlobal%22%3Atrue%7D", | ||
"name": "vault/config/environment", | ||
}, | ||
Object { | ||
"content": "%7B%22modulePrefix%22%3A%22replication%22%2C%22environment%22%3A%22development%22%7D", | ||
"name": "replication/config/environment", | ||
}, | ||
Object { | ||
"content": "%7B%22bundles%22%3A%7B%22replication%22%3A%7B%22assets%22%3A%5B%7B%22uri%22%3A%22/ui/engines-dist/replication/assets/engine-vendor.js%22%2C%22type%22%3A%22js%22%7D%2C%7B%22uri%22%3A%22/ui/engines-dist/replication/assets/engine.js%22%2C%22type%22%3A%22js%22%7D%5D%7D%7D%7D", | ||
"name": "vault/config/asset-manifest", | ||
}, | ||
] | ||
`; |
Oops, something went wrong.