post-message.js: fix method overload

This commit is contained in:
David Wick
2015-01-27 17:17:46 -08:00
parent 26524c5e51
commit df5b1e5e47

View File

@@ -46,9 +46,9 @@
receiveMessage: function(source, type, callback, context) {
if (typeof source === 'string') {
type = source;
callback = type;
context = callback;
callback = type;
type = source;
source = null;
}