Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AMD with RequireJS
Search
Matthew Osborn
June 29, 2015
Technology
0
160
AMD with RequireJS
Another brown bag on AMD concepts and RequireJS
Matthew Osborn
June 29, 2015
Tweet
Share
More Decks by Matthew Osborn
See All by Matthew Osborn
Palmetto - Introductory Messaging
osbornm
0
94
React: How to JavaScript Hipster
osbornm
0
170
UX / UI - Lunch & Learn
osbornm
0
310
Practical Knockout
osbornm
0
180
CSS, LESS, & The New UI
osbornm
0
240
3D Printing Introduction
osbornm
0
130
Practical HTML 5
osbornm
2
490
Playr
osbornm
1
740
NuGet: Add Reference, Awesome
osbornm
1
960
Other Decks in Technology
See All in Technology
実録・Platform Engineering 失敗から学び、AI時代の波を乗りこなす技術
sansantech
PRO
1
100
LY Tableauでの Tableau x AIの実践 (at Tableau Now! - 2026-02-26)
yoshitakaarakawa
0
1.3k
入門DBSC
ynojima
0
130
AIエンジニア Devin と歩む、自律型運用プロセスの構築
a2ito
0
660
Datadog Cloud Cost Management で実現するFinOps
taiponrock
PRO
0
130
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
2
1.4k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
primeNumber DATA MANAGEMENT CAMP #2:
masatoshi0205
1
680
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
44k
「ストレッチゾーンに挑戦し続ける」ことって難しくないですか? メンバーの持続的成長を支えるEMの環境設計
sansantech
PRO
1
270
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
130
大規模サービスにおける レガシーコードからReactへの移行
magicpod
1
120
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Believing is Seeing
oripsolob
1
68
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
200
Facilitating Awesome Meetings
lara
57
6.8k
Designing for Performance
lara
611
70k
Typedesign – Prime Four
hannesfritz
42
3k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Designing Powerful Visuals for Engaging Learning
tmiket
0
260
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
66
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Transcript
RequireJS Asynchronous Module Defini2on
THE PROBLEM Dependency Injection Bundles get Large Script Tag Ordering
THE SOLUTION Asynchronous Loading Dependency Chain Construction import / using
/ require
AMD CommonJS RequireJS
define("person", [], func2on () { return
{ firstName: "", lastName: "" }; }) define("employee", ["person"], func2on (p) { return { base: p, id: "123" }; });
// person.js define([], func2on () {
return { firstName: "", lastName: "" }; }) // employee.js define(["person"], func2on (p) { return { base: p, id: "123" }; });
// synchronous loading... var employee = require("employee"); // asynchronous loading...
require(["employee"], function (employee) { });
DEMO Setup & Consump2on r.js & Building / Minifica2on
Typescript AMD PaQerns Control’s conversion to AMD
@OSBORNM github | twiQer | .com