Permalink
Browse files

More fixes for Quixe: Quixe cannot be compressed with the eval option…

…, as its JIT code relies on too many closure variables.
  • Loading branch information...
curiousdannii committed May 18, 2013
1 parent a60cf3a commit abf734cf43e7a306e6c93614f094e8c6e3cb1ae4
Showing with 20 additions and 8 deletions.
  1. +10 −1 Gruntfile.js
  2. +1 −1 lib/parchment.debug.js
  3. +5 −4 lib/quixe.min.js
  4. +1 −1 src/parchment/quixe.js
  5. +3 −1 tools/server.js
View
@@ -140,10 +140,19 @@ module.exports = function( grunt )
files: {
'lib/parchment.min.js': [ 'lib/parchment.debug.js' ],
'lib/gnusto.min.js': [ 'lib/gnusto.debug.js' ],
'lib/quixe.min.js': [ 'lib/quixe.debug.js' ],
'lib/glkote.min.js': [ 'lib/glkote.debug.js' ],
},
},
quixe: {
options: {
mangle: {
'eval': false,
},
},
files: {
'lib/quixe.min.js': [ 'lib/quixe.debug.js' ],
}
},
zvm: {
options: {
compress: {
View
@@ -2270,7 +2270,7 @@ parchment.add_vm({
'../src/quixe/prototype-1.6.1.js',
'glkote.debug.js',
'quixe.debug.js',
'glkote.min.css'
'glkote.debug.css'
] : [
'prototype.min.js',
'glkote.min.js',
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -20,7 +20,7 @@ parchment.add_vm({
'../src/quixe/prototype-1.6.1.js',
'glkote.debug.js',
'quixe.debug.js',
'glkote.min.css'
'glkote.debug.css'
] : [
'prototype.min.js',
'glkote.min.js',
View
@@ -15,4 +15,6 @@ var app = express();
app.use( express.compress() );
app.use( express.static( __dirname + '/../' ) );
app.listen( process.env.PORT || 3000 );
var port = process.env.PORT || 3000;
app.listen( port );
console.log( 'Parchment server started on port: ' + port );

0 comments on commit abf734c

Please sign in to comment.