API Docs for: 0.2.0-beta5
Show:

File: src\prefab\index.js

/**
 * @namespace Lyria
 * Lyria namespace decleration
 */
define('lyria/prefab', ['lyria/scene'], function(Scene) {
	'use strict';

	//Lyria.Prefab
	return function(prefabName, options) {
		
		var defaultOptions = {
			target: null,
			template: 'prefab.html',
			data: 'prefab.js',
			path: 'prefab',
			isPrefab: true
		};
		
		options = _.defaults(true, defaultOptions, options);
		
		return new Scene(prefabName, options);
		
	};
  
});