Use latest ng2-dragula - Fixes CI build
This commit is contained in:
parent
7dbd6a3d0f
commit
1dfd7754e6
@ -61,7 +61,7 @@
|
|||||||
"gulp-util": "^3.0.7",
|
"gulp-util": "^3.0.7",
|
||||||
"merge-stream": "^1.0.0",
|
"merge-stream": "^1.0.0",
|
||||||
"mock-browser": "^0.92.12",
|
"mock-browser": "^0.92.12",
|
||||||
"ng2-dragula": "^1.1.10",
|
"ng2-dragula": "^1.2.0",
|
||||||
"reflect-metadata": "^0.1.8",
|
"reflect-metadata": "^0.1.8",
|
||||||
"rxjs": "5.0.0-beta.11",
|
"rxjs": "5.0.0-beta.11",
|
||||||
"scss-base": "^1.1.6",
|
"scss-base": "^1.1.6",
|
||||||
|
@ -3,7 +3,7 @@ import { BrowserModule, Title } from '@angular/platform-browser';
|
|||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { HttpModule } from '@angular/http';
|
import { HttpModule } from '@angular/http';
|
||||||
|
|
||||||
import { Dragula } from 'ng2-dragula/ng2-dragula';
|
import { DragulaModule } from 'ng2-dragula/ng2-dragula';
|
||||||
|
|
||||||
import { APP_ROUTING, ROUTE_COMPONENTS } from './app.routes';
|
import { APP_ROUTING, ROUTE_COMPONENTS } from './app.routes';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
@ -26,7 +26,8 @@ import {
|
|||||||
BrowserModule,
|
BrowserModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
HttpModule,
|
HttpModule,
|
||||||
APP_ROUTING
|
APP_ROUTING,
|
||||||
|
DragulaModule
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
Title,
|
Title,
|
||||||
@ -38,7 +39,6 @@ import {
|
|||||||
Constants
|
Constants
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
Dragula,
|
|
||||||
AppComponent,
|
AppComponent,
|
||||||
Notifications,
|
Notifications,
|
||||||
Modal,
|
Modal,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
import { Dragula, DragulaService } from 'ng2-dragula/ng2-dragula';
|
import { DragulaService } from 'ng2-dragula/ng2-dragula';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ApiResponse,
|
ApiResponse,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* global expect AuthServiceMock SettingsServiceMock ModalServiceMock NotificationsServiceMock */
|
/* global expect AuthServiceMock SettingsServiceMock ModalServiceMock NotificationsServiceMock */
|
||||||
var path = '../../../../build/settings/board-admin/',
|
var path = '../../../../build/settings/board-admin/',
|
||||||
BoardAdmin = require(path + 'board-admin.component.js').BoardAdmin,
|
BoardAdmin = require(path + 'board-admin.component.js').BoardAdmin,
|
||||||
DragulaService = require('../../../../node_modules/ng2-dragula/src/app/providers/dragula.provider.js')
|
DragulaService = require('../../../../node_modules/ng2-dragula/components/dragula.provider.js')
|
||||||
.DragulaService;
|
.DragulaService;
|
||||||
|
|
||||||
describe('BoardAdmin', () => {
|
describe('BoardAdmin', () => {
|
||||||
|
Reference in New Issue
Block a user