/tags/jsdoc_toolkit-1.4.0/test/data/framework.js
http://jsdoc-toolkit.googlecode.com/ · JavaScript · 30 lines · 22 code · 2 blank · 6 comment · 1 complexity · 3011f7723a2bca61e95bed1819f561a8 MD5 · raw file
- function dragFactory (element) {
- dragSpace.create(
- $(element),
- Dragger.register(
- /**@scope Dragger*/
- {
- element: element,
- dropOnEmpty: false,
- ghosting: false,
- scroll: function(offset){
- },
- scrollSensitivity: 20,
- scrollSpeed: 15,
- format: this.SERIALIZE_RULE,
- /**@function*/ onChange: Prototype.emptyFunction,
- /**
- * @name onUpdate
- * @function
- * @memberOf Dragger
- */
- onUpdate: Prototype.emptyFunction
- },
- arguments[1] || {}
- );
- nifty.demote(element);
- );
- }
- dragFactory(this.window.getElementByName("palette"));