Пример #1
0
def load_bundles():
    import os.path
    from naaya.core.fsbundles import auto_bundle_package
    bundles_dir = os.path.dirname(__file__)
    auto_bundle_package(bundles_dir, BUNDLE_NAME_PREFIX, PARENT_BUNDLE)
Пример #2
0
def load_bundles():
    import os.path
    from naaya.core.fsbundles import auto_bundle_package, register_bundle_factory
    bundles_dir = os.path.dirname(__file__)
    auto_bundle_package(bundles_dir, BUNDLE_NAME_PREFIX, PARENT_BUNDLE)
    register_bundle_factory(bundles_dir, BUNDLE_NAME_PREFIX, 'CHM3')
Пример #3
0
def load_bundles():
    import os.path
    from naaya.core.fsbundles import auto_bundle_package
    bundles_dir = os.path.dirname(__file__)
    auto_bundle_package(bundles_dir, BUNDLE_NAME_PREFIX, PARENT_BUNDLE)
def load_bundles():
    import os.path
    from naaya.core.fsbundles import auto_bundle_package, register_bundle_factory
    bundles_dir = os.path.dirname(__file__)
    auto_bundle_package(bundles_dir, BUNDLE_NAME_PREFIX, PARENT_BUNDLE)
    register_bundle_factory(bundles_dir, BUNDLE_NAME_PREFIX, 'CHM3')