UNPKG
lmd
Version:
latest (1.13.4)
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.7
1.11.6
1.11.5
1.11.4
1.11.2
1.11.1
1.11.0
1.10.26
1.10.25
1.10.24
1.10.23
1.10.22
1.10.21
1.10.20
1.10.19
1.10.18
1.10.17
1.10.16
1.10.15
1.10.14
1.10.13
1.10.12
1.10.11
1.10.10
1.10.9
1.10.8
1.10.7
1.10.6
1.10.6-1
1.10.5
1.10.5-6
1.10.5-5
1.10.5-4
1.10.5-3
1.10.5-2
1.10.5-1
1.10.4
1.10.3
1.10.3-2
1.10.3-1
1.10.2
1.10.1
1.10.0
1.9.8
1.9.8-2
1.9.8-1
1.9.7
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.6
1.7.5
1.7.3
1.7.2
1.7.1
1.7.0
1.6.11
1.6.10
1.6.9
1.6.8
1.6.7
1.6.5
1.6.4
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
LMD: Lazy Module Declaration
lmdjs.org
lmd
/
examples
/
plugins
/
amd
/
js
/
button.js
9 lines
(6 loc)
•
153 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
define
(
'ignored-module-name'
, [
'$'
],
function
(
$
) {
function
Button
(
text
) {
return
$(
'<button/>'
).
text
(text); }
return
Button
; });