code cleanup

This commit is contained in:
Donghuang 2022-06-24 21:32:42 +08:00
parent 7bc513d9c7
commit 24da34bbef
3 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,8 @@
import Ember from 'ember';
import Service from '@ember/service';
import { getOwner } from '@ember/application';
import $ from 'jquery';
export default Ember.Service.extend({
export default Service.extend({
/**
* Ajax.doGet('url.get',
* {id: 001, name: 'foo'},

View File

@ -1,7 +1,7 @@
import Ember from 'ember';
import Service from '@ember/service';
import $ from 'jquery'
export default Ember.Service.extend({
export default Service.extend({
alert(msg) {
bootbox.alert(msg);
},

View File

@ -1,4 +1,3 @@
import Ember from 'ember';
import Service from '@ember/service';
import $ from 'jquery'
import { Promise } from 'rsvp';