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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matthew Osborn
June 29, 2015
Technology
170
0
Share
AMD with RequireJS
Another brown bag on AMD concepts and RequireJS
Matthew Osborn
June 29, 2015
More Decks by Matthew Osborn
See All by Matthew Osborn
Palmetto - Introductory Messaging
osbornm
0
99
React: How to JavaScript Hipster
osbornm
0
170
UX / UI - Lunch & Learn
osbornm
0
310
Practical Knockout
osbornm
0
190
CSS, LESS, & The New UI
osbornm
0
250
3D Printing Introduction
osbornm
0
140
Practical HTML 5
osbornm
2
490
Playr
osbornm
1
750
NuGet: Add Reference, Awesome
osbornm
1
970
Other Decks in Technology
See All in Technology
Do Vibe Coding ao LLM em Produção para Busca Agêntica - TDC 2026 - Summit IA - São Paulo
jpbonson
3
160
これからの「データマネジメント」の話をしよう
sansantech
PRO
0
160
AI駆動1on1〜AIに自分を育ててもらう〜
yoshiakiyasuda
0
150
Class.new is all you need
riseshia
1
190
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
130
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
10
2.3k
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
410
COBOL婆さんの伝説
poropinai1966
0
110
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
0
1.2k
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
170
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.9k
AIでAIをテストする - 音声AIエージェントの品質保証戦略
morix1500
1
150
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
460
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
280
How to Talk to Developers About Accessibility
jct
2
180
Thoughts on Productivity
jonyablonski
76
5.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
A designer walks into a library…
pauljervisheath
211
24k
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