mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Upgrade to Babel 6
This commit is contained in:
parent
2f480e21a0
commit
754c1e5438
35 changed files with 62713 additions and 67299 deletions
|
@ -18,7 +18,7 @@ export default Ember.Component.extend({
|
|||
|
||||
actions: {
|
||||
submit: function() {
|
||||
const Permalink = require('admin/models/permalink').default;
|
||||
const Permalink = requirejs('admin/models/permalink').default;
|
||||
|
||||
if (!this.get('formSubmitted')) {
|
||||
const self = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue