mediapicker
Advanced tools
Comparing version 5.0.0-test.1 to 5.0.0-test.2
import '!style!css!less!./aui-short.less'; | ||
import '!style!css!less!./mp.less'; | ||
declare const MediaPicker: (componentName: string, ...options: any[]) => any; | ||
export = MediaPicker; | ||
export declare function MediaPicker(componentName: string, ...options: Array<any>): any; |
{ | ||
"name": "mediapicker", | ||
"version": "5.0.0-test.1", | ||
"version": "5.0.0-test.2", | ||
"description": "Library for handling file uploads", | ||
@@ -5,0 +5,0 @@ "main": "./lib/mediapicker.js", |
import {expect} from 'chai'; | ||
import * as $ from 'jquery'; | ||
import * as MediaPicker from '../index'; | ||
import {MediaPicker} from '../index'; | ||
import {ModuleConfig} from '../domain/config'; | ||
@@ -5,0 +5,0 @@ import {MediaPickerDropzone} from './dropzone'; |
@@ -30,3 +30,3 @@ import '!style!css!less!./aui-short.less'; | ||
// tslint:disable-next-line:variable-name | ||
const MediaPicker = function(componentName: string, ...options: Array<any>): any { | ||
export function MediaPicker(componentName: string, ...options: Array<any>): any { | ||
const context: MediaPickerContext = { | ||
@@ -62,4 +62,2 @@ trackEvent: trackEvent | ||
} | ||
}; | ||
export = MediaPicker; | ||
} |
@@ -18,4 +18,3 @@ /*global process, __dirname*/ | ||
filename: 'mediapicker.js', | ||
libraryTarget: 'commonjs', | ||
library: 'MediaPicker' | ||
libraryTarget: 'commonjs' | ||
}, | ||
@@ -22,0 +21,0 @@ var: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
11328275
70514