fix various small issues

This commit is contained in:
Matt Netkow 2020-06-10 21:46:03 -05:00
parent 1567e8ff2f
commit d2d5fb3122
4 changed files with 5 additions and 7 deletions

View File

@ -106,14 +106,12 @@ export interface FileTransferError {
* @description * @description
* This plugin allows you to upload and download files. * This plugin allows you to upload and download files.
* *
* @deprecated * This plugin has been deprecated [in favor of XHR2](https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html).
* This plugin has been deprecated in favor of XHR2
* https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html
* *
* @usage * @usage
* ```typescript * ```typescript
* import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer/ngx'; * import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer/ngx';
* import { File } from '@ionic-native/file'; * import { File } from '@ionic-native/file/ngx';
* *
* constructor(private transfer: FileTransfer, private file: File) { } * constructor(private transfer: FileTransfer, private file: File) { }
* *

View File

@ -269,7 +269,7 @@ export class InAppBrowserObject {
* *
* browser.insertCSS(...); * browser.insertCSS(...);
* browser.on('loadstop').subscribe(event => { * browser.on('loadstop').subscribe(event => {
* browser.insertCSS({ code: "body{color: red;" }); * browser.insertCSS({ code: "body{color: red;}" });
* }); * });
* *
* browser.close(); * browser.close();

View File

@ -34,7 +34,7 @@ declare const cordova: any;
pluginName: 'JINS MEME', pluginName: 'JINS MEME',
plugin: 'cordova-plugin-jins-meme', plugin: 'cordova-plugin-jins-meme',
pluginRef: 'JinsMemePlugin', pluginRef: 'JinsMemePlugin',
repo: 'https://github.com/BlyncSync/cordova-plugin-jins-meme', repo: 'https://github.com/jins-meme/JinsMemeSDK-Plugin-Cordova',
platforms: ['Android', 'iOS'], platforms: ['Android', 'iOS'],
}) })
@Injectable() @Injectable()

View File

@ -635,7 +635,7 @@ export interface CommandsArray extends Array<PrintCommand> {}
* ... * ...
* *
* *
* this.starprnt.portDiscovery('all') * this.starprnt.portDiscovery('All')
* .then((res: any) => console.log(res)) * .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error)); * .catch((error: any) => console.error(error));
* *