lib/js/window.js in google_web_translate-0.2.4 vs lib/js/window.js in google_web_translate-0.2.5

- old
+ new

@@ -9,5 +9,10 @@ var document = {}; function setWindowProperty(key, value) { window[key] = value; } +function generateToken(tk_function, tkk, string) { + setWindowProperty('TKK', tkk); + var fn = eval(tk_function); + return fn(string); +}