Clamp.js
Clamp.js copied to clipboard
Current minified source does not compile on Chrome
Uncaught SyntaxError: Unexpected token (
at line 8.
To reproduce: create an HTML file along these lines:
<!DOCTYPE html>
<html>
<head>
<script src="clamp.min.js"></script>
</head>
<body>
Test
</body>
</html>
Run it in in a local webserver in Chrome and observe the error in the JS console.
+1
Probably the same issue... In Firefox:
SyntaxError: function statement requires a name
function(){window.$clamp=function(e,g){var m,k,j,r;function s(a,b){i
+1