stealPath

  • property
config.stealPath {String}  

Specify the path to the steal.js root folder and set many other configuration values as side effects. This should not typically be called directly.

String

The folder that contains steal.js.

steal.js set this internally when loading to setup default paths for @dev, [$css], [$less], @traceur and baseURL.

Use

steal.js calls config with the path to steal.js internally. This sets up the following default values in paths:

  • @dev - PATH/dev.js
  • [$css] - PATH/css.js
  • [$less] - PATH/less.js
  • @traceur - PATH/../traceur/traceur.js - Assumes traceur is in a folder next to steal.

Finally, it will set baseURL provided nothing else is setting it to:

  • PATH/../.. - if PATH ends with /bower_components/steal.
  • PATH/.. - if PATH ends with /steal.
  • PATH - if the first two conditions are not met.