Permalink
Browse files

update!

  • Loading branch information...
1 parent c24d5ff commit 3e54097b7feca7850ff5643b86fb83b1bc7d1434 @RubyLouvre committed Mar 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 messenger.js
View
@@ -26,8 +26,8 @@ define(["node"], function($) {
if (event.source != me.win)
return;//如果不是来源自win所指向的窗口,返回
var data = event.data;
- if (me.hack && data.indexOf(me.hack) === 0) {
- data = data.replace(me.hack, "");
+ if (me._hack && data.indexOf(me.hack) === 0) {
+ data = data.replace(me._hack, "");
data = JSON.parse(data, function(k, v) {
if (v.indexOf && v.indexOf('function') > -1) {
return eval("(function(){return " + v + " })()")

0 comments on commit 3e54097

Please sign in to comment.