Leave it for now
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Generated
+26214
File diff suppressed because it is too large
Load Diff
@@ -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'
|
||||
|
||||
@@ -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
|
||||
@@ -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({
|
||||
});
|
||||
@@ -2,4 +2,7 @@ import { run } from '@ember/runloop';
|
||||
|
||||
export default function destroyApp(application) {
|
||||
run(application, 'destroy');
|
||||
if (window.server) {
|
||||
window.server.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user