style(): unify docs and spacing (#1448)

* typo(barcode-scanner): fixe circle lint error

* typo(docs):  Unified the documentations

In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.
This commit is contained in:
Daniel Sogl
2017-04-30 20:36:22 +02:00
committed by Ibby Hadeed
parent a7c9abc449
commit c6f9fa356f
90 changed files with 497 additions and 506 deletions
@@ -7,7 +7,7 @@ import { Injectable } from '@angular/core';
* This Cordova/Phonegap plugin can be used to import/export to/from a SQLite database using either SQL or JSON.
*
* @usage
* ```
* ```typescript
* import { SQLitePorter } from '@ionic-native/sqlite-porter';
*
*
@@ -15,7 +15,7 @@ import { Injectable } from '@angular/core';
*
* ...
*
* let db = window.openDatabase("Test", "1.0", "TestDB", 1 * 1024);
* let db = window.openDatabase('Test', '1.0', 'TestDB', 1 * 1024);
* // or we can use SQLite plugin
* // we will assume that we injected SQLite into this component as sqlite
* this.sqlite.create({
@@ -28,8 +28,8 @@ import { Injectable } from '@angular/core';
* });
*
*
* let sql = "CREATE TABLE Artist ([Id] PRIMARY KEY, [Title]);" +
* "INSERT INTO Artist(Id,Title) VALUES ('1','Fred');";
* let sql = 'CREATE TABLE Artist ([Id] PRIMARY KEY, [Title]);' +
* 'INSERT INTO Artist(Id,Title) VALUES ("1","Fred");';
*
* this.sqlitePorter.importSqlToDb(db, sql)
* .then(() => console.log('Imported'))