Update vendors.

Former-commit-id: 43e57a1a75bdd66e95d3608f180514cfe5e0075c
This commit is contained in:
John-David Dalton
2013-04-14 01:15:04 -07:00
parent 5d73c8f002
commit b3f64abfae
47 changed files with 9 additions and 15 deletions

View File

@@ -27,14 +27,8 @@
// remove copyright header
source = source.replace(/^\/\**[\s\S]+?\*\/\n/, '');
// correct overly aggressive Closure Compiler advanced optimizations
source = source
.replace(/prototype\s*=\s*{\s*valueOf\s*:\s*1\s*}/, 'prototype={valueOf:1,y:1}')
.replace(/(document[^&]+&&)\s*(?:\w+|!\d)/, '$1!({toString:0}+"")')
source = source.replace(/(\w+\.prototype\s*=\s*)\w+(?=\.prototype;)/, function(match, left) {
return left + /\w+(?=\.VERSION)/.exec(source);
});
// correct overly aggressive Closure Compiler advanced optimization
source = source.replace(/(document[^&]+&&)\s*(?:\w+|!\d)/, '$1!({toString:0}+"")');
// flip `typeof` expressions to help optimize Safari and
// correct the AMD module definition for AMD build optimizers