~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/browser/__init__.py

  • Committer: dcoles
  • Date: 2008-07-10 07:34:00 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:849
Browser: Ported Browser to the new scripts_init framework. Started to decouple 
console again. (Ideally console should be added from dispatch - now we can call 
many init functions this should be pretty easy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        "media/browser/listing.js",
60
60
        "media/browser/editor.js",
61
61
    ]
 
62
    req.scripts_init = [
 
63
        "browser_init",
 
64
        "console_init",
 
65
    ]
62
66
    # Let the console plugin insert its own styles and scripts
63
67
    plugins.console.insert_scripts_styles(req.scripts, req.styles)
64
68