ä»æ¥ãRingoJSã®ãã¥ã¼ããªã¢ã«ããã£ã¦ã¿ã¾ããããã¾ãæéãã¨ããªãã®ã§å°ããã¤ãã£ã¦ã¾ãã JavaScript Modules èªåã§æ¸ããJavaScriptãã¡ã¤ã«ããä»ã®ããã¸ã§ã¯ããã使ãã¨ãã®ããæ¹ãæ¸ãã¦ãã¾ããã Tutorial - RingoJS ã¢ã¸ã¥ã¼ã«ã輸åºãã - exports ã¾ãã使ãããå´ã¯ãå ¬éãããé¢æ°ã exports ã¨ããã°ãã¼ãã«å¤æ°(?)ã®ããããã£ã«ä»£å ¥ãã¾ãã ããã¨ãä»ã®ããã°ã©ã ã¯ãã¨ã¯ã¹ãã¼ããããé¢æ°ã使ç¨ã§ããããã«ãªãã¾ããéã« exports ã«ã»ãããã¦ããªãé¢æ°ãå¤æ°ã¯ä»ããè¦ããªãã®ã§ãã°ãã¼ãã«åå空éãæ±ããã®ãæ°ã«ããå¿ è¦ãããã¾ãããç´ æ´ãããã§ããã // mymodule.js // å¤é¨ã«å ¬éããé¢æ° exports.sayHello = function() { print('Hello Wo
{{#tags}}- {{label}}
{{/tags}}