This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Export name bug#81
Merged
Merged
Conversation
Member
|
I have the same question RE templates. Perhaps that file needs the same
|
Contributor
Author
|
Yes, I'm looking at it now, will see if |
Contributor
Author
…odule.exports` is defined
Contributor
Author
|
@robertjd and @typerandom please review! :) |
Member
|
Looks good, thanks @timothyej ! |
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #80.
This PR makes it possible to include the SDK using browserify or webpack.
stormpath-sdk-angularjs.jsexports'stormpath'instead of'ui.router'stormpath-sdk-angularjs.tpls.jsexports'stormpath.templatesHow to verify
Checkout this branch
Copy the
dist/folder into your AngularJS project (you can use this boilerplate)Modify your
package.jsonto include these lines:In
app/js/app.js, requirestormpathandstormpath.templatesin dependencies:Make sure that the templates still work by using the login directive in
app/views/todos.html:Build the app:
Serve the app using the
SPA Development Server:Verify that the form gets rendered and that the SDK is included properly
To verify all functionality, please exchange the
ngRouterforUI Routerinstead