1. Reimar Bauer
  2. moin-2.0_experimental_plugins

Commits

Reimar Bauer  committed 55e3ab9 Draft

jquery svgweb should be always build in

  • Participants
  • Parent commits 70c2406
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
         'pdfminer', # pdf -> text/plain conversion
         'XStatic>=0.0.2', # support for static file pypi packages
         'XStatic-CKEditor>=3.6.1.2',
+        'XStatic-jQuery>=1.8.2',
         'XStatic-jQuery-File-Upload>=4.4.2',
         'XStatic-JSON-js',
         'XStatic-svgweb>=2011.2.3.2',

File wikiconfig.py

View file
     # see https://bitbucket.org/thomaswaldmann/xstatic for infos about xstatic:
     from xstatic.main import XStatic
     # names below must be package names
-    mod_names = ['jquery_file_upload',
+    mod_names = ['jquery',
+                 'jquery_file_upload',
                  'json_js',
                  'ckeditor',
                  'svgweb',
     except KeyError:
         mplugins = None
     if mplugins:
-        plugin_packages = ["mathjax", "twikidraw", "jquery", ]
+        plugin_packages = ["mathjax", "twikidraw", ]  
+
         pkg = __import__('moinplugin.pkg', fromlist=plugin_packages)
         template_dirs = []
         js_scripts = {}