steal.static.models  function     

Loads models from the current file's models directory.

Example:
If you want to include models/recipe.js and models/ingredient.js, write:

 steal.models('recipe',
              'ingredient')
steal.models(model) -> steal
{String+}

The name of the model file you want to load. You can pass multiple model names.

{steal}

the steal function for chaining.

© Jupiter IT - JavaScriptMVC Training and Support