Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript Module Platform using YUI
branch: master

This branch is 21 commits ahead of josephj:master

Fetching latest commit…

Cannot retrieve the latest commit at this 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>
Something went wrong with that request. Please try again.