fix(plugin): don't bind to name field. Fixes #740

This commit is contained in:
Max Lynch
2016-10-27 12:48:50 -05:00
parent 0669ba5222
commit 71916a85dd
109 changed files with 119 additions and 119 deletions
+2 -2
View File
@@ -360,7 +360,7 @@ declare var FileError: {
* It also implements the FileWriter spec : http://dev.w3.org/2009/dap/file-system/file-writer.html
*/
@Plugin({
name: 'File',
pluginName: 'File',
plugin: 'cordova-plugin-file',
pluginRef: 'cordova.file',
repo: 'https://github.com/apache/cordova-plugin-file'
@@ -391,7 +391,7 @@ export class File {
return new Promise<any>((resolve, reject) => {
if (!cordova || !cordova.exec) {
pluginWarn({
name: 'File',
pluginName: 'File',
plugin: 'cordova-plugin-file'
});
reject({ error: 'plugin_not_installed' });