Permalink
Browse files

Merge pull request #13 from ingydotnet/revert-shannon

Revert "Improved browser and CommonJS compatibility. Cleaned up whitespa...
  • Loading branch information...
ironcamel committed Jan 25, 2013
2 parents 4ae7a88 + c5fe3cd commit 894261742a8225935e8a3344d75f06e84a541093
Showing with 78 additions and 100 deletions.
  1. +1 −9 lib/Jemplate.pm
  2. +77 −91 src/js/kernel.js
View
@@ -402,25 +402,17 @@ sub _preamble {
Copyright 2006-2008 - Ingy döt Net - All rights reserved.
*/
;(function(){
var root = this,
Jemplate;
var Jemplate;
if (typeof(exports) == 'object') {
Jemplate = require("jemplate").Jemplate;
}
else {
Jemplate = root.Jemplate;
}
if (typeof(Jemplate) == 'undefined')
throw('Jemplate.js must be loaded before any Jemplate template files');
...
}
}());
1;
=head1 SYNOPSIS
Oops, something went wrong.

0 comments on commit 8942617

Please sign in to comment.