Skip to content
JavaScript Module Platform using YUI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
core.js
lang_service.js
sandbox.js

README

#Required JavaScript Libraries
<script type="text/javascript" src="static/yui/3.1.1/yui/yui.js"></script>                                                                              
<script type="text/javascript" src="static/platform/core.js"></script>                                                                                  
<script type="text/javascript" src="static/platform/sandbox.js"></script>                                                                               
#Language Extension
<script type="text/javascript" src="static/platform/lang_service.js"></script>  
#Start it manually
<script>
Y = YUI({
    filter: "raw",
    lang: "jp-JP",
    groups: {
        myapp: {
            base: "static/",
            modules : {
                "demo" : {
                    lang: ["jp-JP", "zh-Hant", "zh-Hans"]
                }
            }
        }
    }
}).use("substitute", "platform-core", "lang-service", "event-delegate", "demo", function (Y) {
    var core = Y.PlatformCore;
    core.registerAll(YUI.PlatformModules);
    core.setLangModule("demo");
});
</script>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.