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

Abstract main.js functions into class #92

Closed driskull closed 7 years ago

driskull commented 7 years ago

Abstract main.js functions into class app.js?

alaframboise commented 7 years ago

I don't think we need to move functions or pass boilerplate params from main.js to another app.js. Let's just call the main.js - app.js and have users create their own app class for their template. If they want to reuse code and error handling they can, otherwise they can just do their own thing in their own myApp.js file. This will also avoid future merge conflicts. See #95.