by Dan Wellman
Lessons:16Length:1.8 hours

For full access to all 16 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
2.2 Exporting Values From Modules
For a module to be consumed by other modules, it needs to return a value of some kind. This can take a variety of different formats, so let's take a look at the different options we have.
1.Introduction2 lessons, 06:55
2 lessons, 06:55
Free Lesson 1.1Introduction02:46
Free Lesson
1.1
Introduction
02:46
Free Lesson 1.2What You Need04:09
Free Lesson
1.2
What You Need
04:09
2.RequireJS Basics4 lessons, 27:18
4 lessons, 27:18
2.1Defining Modules07:25
2.1
Defining Modules
07:25
2.2Exporting Values From Modules04:02
2.2
Exporting Values From Modules
04:02
2.3The Main Script Entry Point06:55
2.3
The Main Script Entry Point
06:55
2.4Specifying Configuration08:56
2.4
Specifying Configuration
08:56
3.Handling Common Tasks5 lessons, 51:21
5 lessons, 51:21
3.1Using Non-AMD Scripts With RequireJS06:31
3.1
Using Non-AMD Scripts With RequireJS
06:31
3.2Using the Text Plugin09:35
3.2
Using the Text Plugin
09:35
3.3Wiring Up More of Our Modules10:40
3.3
Wiring Up More of Our Modules
10:40
3.4Localization With the I18N! Plugin12:10
3.4
Localization With the I18N! Plugin
12:10
3.5Adding More Functionality to the App12:25
3.5
Adding More Functionality to the App
12:25
4.Advanced4 lessons, 22:08
4 lessons, 22:08
4.1Testing AMD Modules08:12
4.1
Testing AMD Modules
08:12
4.2Resolving Circular Dependencies03:41
4.2
Resolving Circular Dependencies
03:41
4.3Using the r.js Optimizer06:53
4.3
Using the r.js Optimizer
06:53
4.4Using an Alternative Module Loader03:22
4.4
Using an Alternative Module Loader
03:22
5.Conclusion1 lesson, 02:59
1 lesson, 02:59
5.1Conclusion02:59
5.1
Conclusion
02:59
Continue watching with Elements
Continue watching with Elements