Fix export and import.
This commit is contained in:
parent
cc5b0b1ee1
commit
a398752c0c
@ -25,7 +25,7 @@ var ngMessages = require('angular-messages'),
|
||||
ngStrap = require('angular-strap');
|
||||
|
||||
var ScheduleController = require('./schedule.controller');
|
||||
var ScheduleFactory = require('./schedule.factory');
|
||||
import { ScheduleFactory } from './schedule.factory';
|
||||
|
||||
export default angular.module('accountant.scheduler', [
|
||||
ngMessages,
|
||||
|
@ -1,4 +1,4 @@
|
||||
module.exports = function($resource) {
|
||||
export function ScheduleFactory($resource) {
|
||||
return $resource(
|
||||
'/api/scheduled_operation/:id', {
|
||||
id: '@id'
|
||||
|
Loading…
Reference in New Issue
Block a user