This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Injectable} from "@angular/core"; | |
| import {Platform} from "ionic-angular"; | |
| const DB_NAME: string = '__mydbname'; | |
| const win: any = window; | |
| @Injectable() | |
| export class Sql { | |
| private _dbPromise: Promise<any>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Sql} from "../providers/Sql"; | |
| export class ExamplePage { | |
| constructor(private sql: Sql) { | |
| //sql.query(...); | |
| //... | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Youtube = (function () { | |
| 'use strict'; | |
| var video, results; | |
| var getThumb = function (url, size) { | |
| if (url === null) { | |
| return ''; | |
| } | |
| size = (size === null) ? 'big' : size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin master |