(options)
| 42311 | |
| 42312 | THREE.Bootstrap.registerPlugin = function (name, spec) { |
| 42313 | var ctor = function (options) { |
| 42314 | THREE.Bootstrap.Plugin.call(this, options); |
| 42315 | this.__name = name; |
| 42316 | }; |
| 42317 | ctor.prototype = _.extend(new THREE.Bootstrap.Plugin(), spec); |
| 42318 | |
| 42319 | THREE.Bootstrap.Plugins[name] = ctor; |