[ALOY-212] Add compile time check to Alloy.Require.js parser to ensure require file exists
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-09-13T12:53:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2012 Sprint 19, Release 3.0.0 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-08-28T07:36:51.000+0000 |
Updated | 2018-03-07T22:25:45.000+0000 |
Description
As it stands now, all requires for Alloy.Require () nodes is performed at runtime. These nodes simply create a
require()
statement that will create a controller for use at runtime. By checking in the Alloy.Require.js parser itself for the file path, though, we can actually confirm at compile time if the required file exists or not, saving developers (or worse, their end users) the time and aggravation of figuring this out at runtime.
No comments