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

Add configuration boolean option for when the template is hosted/used in portal vs not #11

Closed driskull closed 10 years ago

driskull commented 10 years ago

Instead of looking for /apps in the URL, there should be a configuration option that can be enabled when the template is hosted or in portal.

driskull commented 10 years ago

@kellyhutchins Does this sound good?

driskull commented 10 years ago

@kellyhutchins I assigned to you because I'm not sure the best way to get the instance path now.

kellyhutchins commented 10 years ago

Sounds good I'll look at adding this option soon.