Add AMD suport for strophe.js

This commit is contained in:
Roman Vaughan
2015-09-27 00:27:36 +12:00
parent 54f064352a
commit b2ddb24c41
+5
View File
@@ -49,6 +49,11 @@ declare function $iq(attrs?: any): Strophe.Builder;
*/
declare function $pres(attrs?: any): Strophe.Builder;
// Support AMD require
declare module 'Strophe' {
export = Strophe;
}
declare module Strophe {
/** Constant: VERSION
* The version of the Strophe library. Unreleased builds will have