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
93
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
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
140
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
170
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
320
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
140
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
140
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
160
AWS Network Firewall Proxyを触ってみた
nagisa53
1
240
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
0
170
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
220
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.3k
My Coaching Mixtape
mlcsv
0
48
New Earth Scene 8
popppiees
1
1.5k
Building an army of robots
kneath
306
46k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
150
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Six Lessons from altMBA
skipperchong
29
4.2k
Code Review Best Practice
trishagee
74
20k
Practical Orchestrator
shlominoach
191
11k
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