Skip to content

Add AMD suport for strophe.js - #6021

Merged
vvakame merged 2 commits into
DefinitelyTyped:masterfrom
NZSmartie:master
Oct 5, 2015
Merged

vvakame merged 2 commits into
DefinitelyTyped:masterfrom
NZSmartie:master

Conversation

@NZSmartie

Copy link
Copy Markdown
Contributor

Unable to use strophe.js in external module project.
Simply added a line to allow

import Strophe = require("Strophe");

@vvakame

vvakame commented Sep 27, 2015

Copy link
Copy Markdown
Member

strophe/strophe.d.ts

to author(@DavidKDeutsch). could you review this PR?
👍 or 👎?

check list

  • pass the Travic-CI test?

After reviewing Strophe.js, the library detects when an AMD loader
is implemented and adjusts how it is exported. This behaviour has
been noted and thus the typescript definition has been updated to
reflect that
@NZSmartie

Copy link
Copy Markdown
Contributor Author

After reviewing Strophe.js, the library detects when an AMD loader
is implemented and adjusts how it is exported. This behaviour has
been noted and thus the typescript definition has been updated to
reflect that

@DavidKDeutsch

Copy link
Copy Markdown
Contributor

Looks good to me. Thanks @NZSmartie!

vvakame added a commit that referenced this pull request Oct 5, 2015
Add AMD suport for strophe.js
@vvakame
vvakame merged commit 34db311 into DefinitelyTyped:master Oct 5, 2015
@vvakame

vvakame commented Oct 5, 2015

Copy link
Copy Markdown
Member

@DavidKDeutsch thanks!
@NZSmartie thanks mate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants