UNPKG
wise-web-client
Version:
latest (1.0.13)
1.0.13
Based on Spine MVC framework
wise-web-client
/
server
/
lib
/
dollar.js
13 lines
(11 loc)
•
252 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
// dollar sign for global components such as DB connection.
exports
.
lang
= { all : {}, load :
function
(
all
){
this
.
all
= all; }, dollar :
function
(
name
){
return
this
.
all
[name]; } };
exports
.
$
=
exports
.
lang
.
dollar
.
bind
(
exports
.
lang
);