タグ

requireに関するreponのブックマーク (7)

  • RubyのrequireとActive Supportの自動requireについて


     Ruby Rubyrequire RailsActive SupportrequireRuby
    RubyのrequireとActive Supportの自動requireについて
  • RequireJS

    /* --- RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code. IE 6+ .......... compatible ✔ Firefox 2+ ..... compatible ✔ Safari 3.2+ .... compatible ✔ Chrome 3+ ...... compatible ✔ Opera 10+ ...... co

  • require()とは何か?何が便利なのか - Qiita


    require()  使 script require 調commonJS  JavascriptServerSide使 scriptHTML FileNetwork便 ServerSidecommonJS JS
    require()とは何か?何が便利なのか - Qiita
  • requireの仕組み - ぶれすとつーる

    こんばんは この記事は Node.js Advent Calender 2014の23日目の記事です。 Node.js Advent Calendar 2014 - Qiita 普段node書くとき、何気なく使ってるrequireだけど、どんな風にモジュールが読み込まれてるのかコアコードの中を追ってみる。 https://github.com/joyent/node/blob/v0.11.14/lib/module.js#L362 Module.prototype.require = function(path) { assert(util.isString(path), 'path must be a string'); assert(path, 'missing path'); return Module._load(path, this); }; こいつが各moduleが読み込まれた

    requireの仕組み - ぶれすとつーる
  • phiary

    Node.js 6連投. 第1弾! npm と Node.js 上で require を使ったモジュール読み込みの仕組みについてメモ <- いまここ Node.js 用に作った自作モジュール『merger』を npm で公開してみた Node.js 用の自作モジュールの作り方メモ Node.js 用に作った自作モジュールを npm に登録して公開する方法 JavaScript テストフレームワーク『Mocha』の使い方メモ JavaScript テストフレームワーク『Mocha』をブラウザ上で使う方法 Node.js で require でモジュールを読み込む際に引っかかった箇所があったのでメモしておきます. インストール済の hoge(仮)というモジュールを下記のようなコードで var hoge = require('hoge'); 読み込もうとしても Cannot find modul

    phiary
  • Rubyで自作の外部モジュールを読み込む方法 - include と extend と module_function - (゚∀゚)o彡 sasata299's blog


    2009062002:25 Ruby Ruby - include  extend  module_function 090621 id:faulist  requireincludeextendmodule_function(1) - As Sloth As Possible requireincludeextendmodule_function(2) - As Sloth As PossibleRubyrequirehoge.rb require 'hoge' 
  • requireとincludeとextendとmodule_function(1) : As Sloth As Possible


    Ruby - include  extend  module_function - ()o sasata299'sblogrequireincludeextend requireKernel Rubyrequire Ruby - include  extend  module_function - ()o sasata299'sblogrequireRuby辿
    requireとincludeとextendとmodule_function(1) : As Sloth As Possible
  • 1