templatizer
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -79,3 +79,3 @@ (function () { | ||
// attach to window or export with commonJS | ||
if (typeof module !== "undefined") { | ||
if (typeof module !== "undefined" && typeof module.exports !== "undefined") { | ||
module.exports = exports; | ||
@@ -82,0 +82,0 @@ } else if (typeof define === "function" && define.amd) { |
{ | ||
"name": "templatizer", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -77,3 +77,3 @@ var jade = require('jade'), | ||
'// attach to window or export with commonJS', | ||
'if (typeof module !== "undefined") {', | ||
'if (typeof module !== "undefined" && typeof module.exports !== "undefined") {', | ||
' module.exports = exports;', | ||
@@ -80,0 +80,0 @@ '} else if (typeof define === "function" && define.amd) {', |
31815