Package Products :: Package ZenUtils :: Package extdirect :: Package zope :: Module javascript |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenUtils.extdirect.zope.javascript

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2009, Zenoss Inc.
     5  #
     6  # This program is free software; you can redistribute it and/or modify it
     7  # under the terms of the GNU General Public License version 2 or (at your
     8  # option) any later version as published by the Free Software Foundation.
     9  #
    10  # For complete information please visit: http://www.zenoss.com/oss/
    11  #
    12  ###########################################################################
    13  import zope.interface
    14  from zope.viewlet.manager import WeightOrderedViewletManager
    15  from zope.viewlet.viewlet import JavaScriptViewlet
    16  from interfaces import IExtDirectJavaScriptManager
    17  from interfaces import IExtDirectJavaScriptAndSourceManager
    18
    19 -class ExtDirectJavaScriptManager(WeightOrderedViewletManager):
    20      zope.interface.implements(IExtDirectJavaScriptManager)
    21
    22 -class ExtDirectJavaScriptAndSourceManager(WeightOrderedViewletManager):
    23      zope.interface.implements(IExtDirectJavaScriptAndSourceManager)
    24
    25  DirectSourceViewlet = JavaScriptViewlet('direct.js')
    26