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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Matthew Osborn
June 29, 2015
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
110
React: How to JavaScript Hipster
osbornm
0
190
UX / UI - Lunch & Learn
osbornm
0
330
Practical Knockout
osbornm
0
200
CSS, LESS, & The New UI
osbornm
0
270
3D Printing Introduction
osbornm
0
160
Practical HTML 5
osbornm
2
510
Playr
osbornm
1
770
NuGet: Add Reference, Awesome
osbornm
1
990
Other Decks in Technology
See All in Technology
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
110
トークンマネジメントでAIにとって働きやすい環境を実現する
hikaruegashira
0
130
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
440
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
10
2.8k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
コーチングの奥義 何もしないテクニック
jinwatanabe
0
140
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
3
850
AI-DLC実践録_フルサイクル開発への挑戦
miyuc
0
330
英語が話せなくてもKubeConスタッフに参加した話
yusuke427
1
1.1k
35分でわかるEffective Platform Engineering
nwiizo
5
580
猫付きpingコマンドを自作
uyuki234
0
290
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
290
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
500
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
Statistics for Hackers
jakevdp
799
230k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
280
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