steal.get.download  function     

Downloads a url to path. Reports if the file was:

  • A - added
  • U - updated

Example

The following downloads controller using the git getter:

steal.get.download(
    "https://github.com/jupiterjs/jquerymx/blob/master/controller/controller.js",
    "jquery/controller/controller.js",
    {getter: steal.get.git})

API

steal.get.download(url, path, options) -> undefined
{Object}
{Object}
{Object}
{undefined}
© Jupiter IT - JavaScriptMVC Training and Support