Typo

classic Classic list List threaded Threaded
2 messages Options
mo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Typo

mo
Hi,

I just noticed a typo:

* https://github.com/aerogear/aerogear-js-cookbook/blob/master/simplepush-unifiedpush-example/js/unifiedpush.js#L46

I think there is a typo in the above line.  The '.then' should be a '.catch'?

Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Typo

Luke Holmquist


On Tue, Jun 30, 2015 at 1:46 PM, mo <[hidden email]> wrote:
Hi,

I just noticed a typo:

*
https://github.com/aerogear/aerogear-js-cookbook/blob/master/simplepush-unifiedpush-example/js/unifiedpush.js#L46

I think there is a typo in the above line.  The '.then' should be a
'.catch'?

catch is syntactic sugar for then(null, func)  

Thanks.



--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Typo-tp88.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Loading...