Main.js 698 B

123456789101112131415161718192021222324252627
  1. MWF.xApplication.Empty.options.multitask = true;
  2. MWF.xApplication.Empty.Main = new Class({
  3. Extends: MWF.xApplication.Common.Main,
  4. Implements: [Options, Events],
  5. options: {
  6. "style": "default",
  7. "name": "Empty",
  8. "icon": "icon.png",
  9. "width": "400",
  10. "height": "500",
  11. "isResize": false,
  12. "isMax": false,
  13. "title": MWF.xApplication.Empty.LP.title
  14. },
  15. onQueryLoad: function(){
  16. this.lp = MWF.xApplication.Empty.LP;
  17. },
  18. loadApplication: function(callback){
  19. //for (var i=0; i<3000; i++){
  20. // var node = new Element("div", {"text": i}).inject(this.content);
  21. // this["x"+i] = node;
  22. // node.tmp = this["x"+i];
  23. //}
  24. this.content
  25. }
  26. });