You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1e71278
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "webpack",
3
-
"version": "0.6.0",
3
+
"version": "0.6.1",
4
4
"author": "Tobias Koppers @sokra",
5
5
"description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
window.test((require("./singluar.js")).value===1,"sigular module loaded, in brackets");
22
25
require("./sing"+"luar.js").value=2;
23
26
window.test(require("./singluar").value===2,"exported object is singluar");
24
27
window.test(require("subfilemodule")==="subfilemodule","Modules as single file should load");
25
28
window.test(require.context("../templates")("./tmpl")==="test template","Context should work");
29
+
window.test((require.context("../templates"))("./tmpl")==="test template","Context should work, in brackets");
30
+
window.test((require.context("../templates")("./tmpl"))==="test template","Context should work, in brackets2");
26
31
window.test(require.context("."+"."+"/"+"templ"+"ates")("./subdir/tmpl.js")==="subdir test template","Context should work with subdirectories and splitted");
27
32
vartemplate="tmpl",templateFull="./tmpl.js";
28
33
window.test(require("../templates/"+template)==="test template","Automatical context should work");
0 commit comments