Titanium

[ALOY-212] Add compile time check to Alloy.Require.js parser to ensure require file exists

GitHub Issuen/a
TypeStory
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-09-13T12:53:53.000+0000
Affected Version/sn/a
Fix Version/s2012 Sprint 19, Release 3.0.0
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-08-28T07:36:51.000+0000
Updated2018-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.

Comments

No comments

JSON Source