Leave it for now

This commit is contained in:
2018-12-13 08:52:41 -05:00
parent f287f49c1c
commit 0c5e514d33
10 changed files with 26242 additions and 1 deletions
+3
View File
@@ -1,4 +1,7 @@
module.exports = {
globals: {
server: true,
},
root: true,
parserOptions: {
ecmaVersion: 2017,
@@ -17,6 +17,7 @@ export default Ember.Component.extend
dataType: "json"
success: (response) ->
debugger
console.log response
popup.setSemanticAttr('html', response)
if Ember.get(session, 'isAuthenticated')
session.authorize 'authorizer:devise', (key, authorization) ->
@@ -21,6 +21,7 @@ export default Ember.Component.extend({
dataType: "json",
success: function(response) {
debugger;
console.log(response);
return popup.setSemanticAttr('html', response);
}
};
+26214
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -35,6 +35,7 @@
"ember-cli-eslint": "^4.0.0",
"ember-cli-htmlbars-inline-precompile": "^1.0.0",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-mirage": "^0.4.10",
"ember-cli-moment-shim": "^3.7.1",
"ember-cli-qunit": "^4.0.0",
"ember-cli-shims": "^1.1.0",
@@ -1,2 +1,2 @@
.ui.info.message panda-action-identifier-info-popup
= panda-action-identifier-info-popup identifier='abcd'
= panda-action-identifier-info-popup identifier='UUID-241123'
+5
View File
@@ -0,0 +1,5 @@
import Response from 'ember-cli-mirage/response'
config = ->
@get "/panda/api/v1/workflow_action_definitions/UUID-241123/action_info", (schema, request) ->
new Response(200, {'Content-Type': 'text/html'}, "<h3>Hiiiii</h3>")
export default config
+9
View File
@@ -0,0 +1,9 @@
export default function(/* server */) {
/*
Seed your development database using your factories.
This data will not be loaded in your tests.
*/
// server.createList('post', 10);
}
@@ -0,0 +1,4 @@
import { JSONAPISerializer } from 'ember-cli-mirage';
export default JSONAPISerializer.extend({
});
+3
View File
@@ -2,4 +2,7 @@ import { run } from '@ember/runloop';
export default function destroyApp(application) {
run(application, 'destroy');
if (window.server) {
window.server.shutdown();
}
}