UNPKG
requirejs-handlebars
Version:
latest (0.1.1)
0.1.1
0.1.0
Simple Handlebars plugin for RequireJS.
webpro/requirejs-handlebars
requirejs-handlebars
/
bower_components
/
requirejs
/
tests
/
plugins
/
textDepend
/
textDepend-tests.js
19 lines
(17 loc)
•
386 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require
({
baseUrl
: requirejs.
isBrowser
?
'./'
:
'./plugins/textDepend'
,
paths
: {
'text'
:
'../../../../text/text'
} }, [
'textDepend!a'
],
function
(
textValue
) { doh.
register
(
'textDepend'
, [
function
textDepend
(
t
){ t.
is
(
'hello world'
, textValue); } ] ); doh.
run
(); });