Skip to content

Commit

Permalink
[RELEASE] Version v0.1.2. Config is now a singleton. Jsnext reference…
Browse files Browse the repository at this point in the history
… set to dist folder to fix node modules reference when used with esnext.
  • Loading branch information
prescottprue committed Oct 13, 2015
1 parent 19c1442 commit ff0ae01
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Using Matter requires having created an application on [Tessellate](http://tesse

```html
<!-- Matter Library Bundle -->
<script src="http://cdn.kyper.io/js/matter/0.1.1/matter.bundle.js"></script>
<script src="http://cdn.kyper.io/js/matter/0.1.2/matter.bundle.js"></script>
```
#### Bower
Run `bower install --save kyper-matter`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "kyper-matter",
"version": "0.1.1",
"version": "0.1.2",
"description": "Library to provide simple application functionality like authentication and local/session/token storage for Tesselate applications.",
"main": "dist/matter.js",
"jsnext:main": "src/matter.js",
"jsnext:main": "dist/matter.js",
"babelBoilerplateOptions": {
"entryFileName": "src/matter.js",
"mainVarName": "Matter",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/providerAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class ProviderAuth {
*/
signup() {
//TODO: send info to server
return this.login;
return this.login();
}
}
export default ProviderAuth;
2 changes: 1 addition & 1 deletion test/unit/matter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ describe('Matter', () => {
it('handles incorrectly formatted signup data', () => {
expect(matter.signup([''])).to.eventually.have.property('message');
});
it('accepts third party logins', () => {
it('accepts third party signup/login', () => {
matter.signup('google').then(() => {
expect(mockProviderAuthSignup).to.have.been.calledOnce;
});
Expand Down

0 comments on commit ff0ae01

Please sign in to comment.