/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

  1. function 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. nifty.demote(element);
  26. );
  27. }
  28. dragFactory(this.window.getElementByName("palette"));