This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************** | |
* | |
* Copyright (c) 2014 Baidu.com, Inc. All Rights Reserved | |
* $Id$ | |
* | |
**************************************************************************/ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/edp-build-config.js b/edp-build-config.js | |
index 54f6224..350d877 100644 | |
--- a/edp-build-config.js | |
+++ b/edp-build-config.js | |
@@ -12,7 +12,19 @@ exports.getProcessors = function () { | |
new CssCompressor(), | |
- new JsCompressor() | |
+ new JsCompressor(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.baidu.lego.server.utils; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.junit.Test; | |
import com.google.gson.JsonPrimitive; | |
import com.google.javascript.jscomp.Compiler; | |
import com.google.javascript.jscomp.CompilerOptions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
.... | |
function G(M) { | |
if ($lmn8 && $lmn8.container && c.length) { | |
var N = $lmn8.container.offset(); | |
if (parseInt(N.left, 10) !== 0 || parseInt(N.top, 10) !== 0) { | |
$lmn8.container.css("position", "absolute").offset({ | |
top: 0, | |
left: 0 | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright (c) 2008-2013 Luminate, Inc. All Rights Reserved */ | |
/* | |
* jQuery JavaScript Library v1.8.2 | |
* http://jquery.com/ | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ | |
* | |
* Copyright 2012 jQuery Foundation and other contributors | |
* Released under the MIT license |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller | |
// fixes from Paul Irish and Tino Zijdel | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; | |
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { |
NewerOlder