jingo 模块化的JavaScript管理

程序名称:jingo

授权协议: 未知

操作系统: 跨平台

开发语言: JavaScript

jingo 介绍

Jingo provides similar functionality to the “import” features of Java and
Python.

实例代码

jingo.declare({  
  require: [  
    'hallmart.util.iterators',  
    'hallmart.Store'  
  ],  
  name: 'hallmart.app',  
  as: function() {  
    // a local alias that does not pollute the global namespace  
    var each = hallmart.util.iterators.each;  
    var customers = [  
      {name: 'Bil'},  
      {name: 'Ted'},  
      {name: 'Joe'}  
    ];  
    var store = new hallmart.Store();  
    each(customers, function(index, value) {  
      store.admit(value);  
    });  
  }  
});


<html>  
  <head>  
  <title>The HallMart Example</title>  
    <script type=text/javascript src=scripts/jingo.js></script>  
    <script type=text/javascript>  
      jingo.anonymous({require: ['hallmart.app']});  
    </script>  
  </head>  
  <body>  
  <p>The HallMart Example</p>  
  </body>  
</html>

jingo 官网

http://code.google.com/p/jingo/

相关编程语言

MuPlayer 是一款跨平台、轻量级的音频播放解决方案,...
OS FLV 是一个 开源和可嵌入网页的flv播放器。 这个...
DewPlayer音乐播放器,样式很简单,而且很实用.播放器...
JW FLV MEDIA PLAYER是一个开源的在网页上使用的Fla...
Speakker 是一个基于 Web 浏览器的音乐播放器,只提...
Player Framework 是一个开源的支持 HTML5 的视频播...