Esri / application-boilerplate-3x-js

Starter application that simplifies the process of building templates for the ArcGIS.com template gallery.
https://developers.arcgis.com/javascript/
Apache License 2.0
90 stars 68 forks source link

Better code reuse with _setupOAuth() #6

Closed robert-claypool closed 10 years ago

robert-claypool commented 10 years ago

I'm sorry in advance if there is some reason not to call _setupOAuth()!

I think lang.hitch() makes calling this. _setupOAuth() possible without any surprise scoping issues. If I'm right, this changeset improves code reuse without introducing any bug.