Skip to content

报错Uncaught TypeError: this.broadcast is not a function #2

@heshengbang

Description

@heshengbang

您好,
我按照官网上的实例程序进行测试,发现一个问题。代码如下:

example3

代码来源:http://www.nodom.org/route/tutorial/module -- 模块用法4-模块通信

点击发送按钮,报错:

Uncaught TypeError: this.broadcast is not a function example3.html:28

使用sublime text3及SublimeServer

我完全按照实例进行操作,并且前面几个实例均可以运行通过,不知道为什么第四个会报错?
如果有空,麻烦帮忙解答,非常感谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions