donejs / donejs/generator-donejs

index.stache, development.html should link to steal-sans-promises.js

Open
#266 1 comment 0 reactions 0 assignees View on GitHub
discussion
Dominant language
JavaScript
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

Description

__Description:__
In a newly generated app, `development.html` and in `index.stache` where the environment is not production, should reference `steal-sans-promises.js`, not `steal.js`.

The reasoning here is the promise shim really messes with the stack, and people are most likely developing with a modern browser because they have the best tools. Production should offer the application to the widest possible audience (with the promise shim for browsers like IE11).

__Environment:__

| Software | Version
| -------------------------- | -------
| donejs -V | 1.0.1
| npm ls generator-donejs | 1.0.7

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.