PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/branches/jsdoc_tk_gui/setup/test/data/framework.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 30 lines | 22 code | 2 blank | 6 comment | 1 complexity | 3011f7723a2bca61e95bed1819f561a8 MD5 | raw file
 1function dragFactory (element) {
 2	dragSpace.create(
 3	    $(element),
 4	    Dragger.register(
 5			/**@scope Dragger*/
 6			{
 7		      element:     element,
 8		      dropOnEmpty: false,
 9		      ghosting:    false,
10		      scroll:      function(offset){
11			  },
12		      scrollSensitivity: 20,
13		      scrollSpeed: 15,
14		      format:      this.SERIALIZE_RULE,
15			  /**@function*/ onChange:    Prototype.emptyFunction,
16			  /**
17			   * @name onUpdate
18			   * @function
19			   * @memberOf Dragger
20			   */
21			   onUpdate:    Prototype.emptyFunction
22		    },
23			arguments[1] || {}
24		);
25
26	    nifty.demote(element);
27	);
28}
29
30dragFactory(this.window.getElementByName("palette"));