travist / seamless.js

A Javascript library for working with seamless iframes.
http://www.travistidwell.com/seamless.js
MIT License
216 stars 44 forks source link

What is $.pm? #14

Closed manoj-cybage closed 7 years ago

manoj-cybage commented 7 years ago

// Make sure we have the $.pm module loaded. if (!$.hasOwnProperty('pm')) { console.log('You must install the jQuery.pm module to use seamless.js.'); return; }

What is $.pm module? from where we can download it?

lukaskolafa commented 7 years ago

I assume it is probably postmessage module? https://github.com/daepark/postmessage/tree/881a6cd11f333c3bb3017e403f14107ac0b5baa0

travist commented 7 years ago

I just updated this library to no longer require jQuery, so you can now use it as...

window.pm()

You still need this library though.