feat: update

parent 80bf35c1
...@@ -9996,6 +9996,11 @@ ...@@ -9996,6 +9996,11 @@
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
"dev": true "dev": true
}, },
"requirejs": {
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz",
"integrity": "sha512-svnO+aNcR/an9Dpi44C7KSAy5fFGLtmPbaaCeQaklUz8BQhS64tWWIIlvEA5jrWICzlO/X9KSzSeXFnZdBu8nw=="
},
"requires-port": { "requires-port": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
"npm-font-open-sans": "^1.1.0", "npm-font-open-sans": "^1.1.0",
"peity": "^3.2.1", "peity": "^3.2.1",
"popper.js": "1.12.9", "popper.js": "1.12.9",
"requirejs": "^2.3.5",
"roboto-fontface": "^0.8.0", "roboto-fontface": "^0.8.0",
"rxjs": "5.5.6", "rxjs": "5.5.6",
"sass-math": "^1.0.0", "sass-math": "^1.0.0",
......
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import * as elfinder from 'elfinder/js/elfinder.min.js';
@Component({ @Component({
selector: 'app-element-elfinder', selector: 'app-element-elfinder',
...@@ -11,6 +12,7 @@ export class ElementElfinderComponent implements OnInit { ...@@ -11,6 +12,7 @@ export class ElementElfinderComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
elfinder(document.getElementById('elfinder'), {});
} }
} }
export const environment = { export const environment = {
production: true production: true
}; };
export const version = 'v0.5'; export const version = 'v1.0.0';
/* SystemJS module definition */ /* SystemJS module definition */
declare var module: NodeModule; declare var module: NodeModule;
interface NodeModule { interface NodeModule {
id: string; id: string;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment