【文件属性】:
文件名称:postmessage:使用 postMessage 进行跨文档消息传递
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-21 15:37:34
JavaScript
锚定/发布消息
postmessage 使用window.postMessage()提供跨文档消息传递。
安装
成分
$ component install anchorjs/postmessage
沃洛
$ volo add anchorjs/postmessage
兼容性
成分
该模块使用格式。 要包含在组件构建中,请使用 :
component build -u component-amd
测试
要在浏览器中运行测试,请为所需的浏览器执行 Make 目标:
$ make test-chrome
$ make test-firefox
$ make test-safari
无头测试可以直接从终端执行:
$ make test-phantomjs
学分
执照
版权所有 (c) 2012-2013 Jared Hanson < >
【文件预览】:
postmessage-master
----.gitignore(106B)
----postmessage.js(1KB)
----package.json(1KB)
----Makefile(2KB)
----LICENSE(1KB)
----README.md(943B)
----component.json(316B)
----bower.json(668B)
----test()
--------auto()
--------www()
--------postmessage.test.js(788B)
--------suite.js(60B)