UNPKG
lettuce
Version:
latest (0.2.4)
0.2.4
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Lettuce JS, Mini Mobile Framework for Romantic with DSL.
github.com/phodal/lettuce
phodal/lettuce
lettuce
/
learning
/
qmik
/
example
/
demo
/
sun
/
demo1.js
13 lines
(11 loc)
•
307 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
$.
define
(
"demo/Demo1"
,
function
(
require
,
exports
,
module
){
module
.
exports
= {
doing
:
function
(
msg
){
var
Common
=
require
(
"demo/Common"
);
var
Demo
=
require
(
"demo/Demo2"
);
Common
.
doing
(msg);
console
.
log
(
"doing demo1 "
,msg); $(
"#result"
).
append
(
"<p>doing demo1 "
+msg+
"</p>"
); } }; });