Merge pull request #6495 from Zorgatone/master

Allow AMD/CommonJS loading of Cordova and Ionic Framework (shim)
This commit is contained in:
Masahiro Wakame
2015-11-03 00:05:47 +09:00
2 changed files with 14 additions and 0 deletions

View File

@@ -95,3 +95,7 @@ interface UrlUtil {
/** Apache Cordova instance */
declare var cordova: Cordova;
declare module 'cordova' {
export = cordova;
}

10
ionic/ionic.d.ts vendored
View File

@@ -5,6 +5,16 @@
/// <reference path="../angularjs/angular.d.ts" />
interface IonicStatic {
version: string;
}
declare var ionic: IonicStatic;
declare module 'ionic' {
export = ionic;
}
declare module ionic {
module actionSheet {
interface IonicActionSheetService {