摘要:
模块化: 1.引用模块 require (1)引用安装到node环境中的模块 (2)引用自己编写的模块 a.引用本地模块 require('module_a.js') 直接这么写会报错 Error:Cannot find module 'module_a' 原因:找不到在node里面直接调requi 阅读全文
posted @ 2016-08-10 23:15
DemonGao
阅读(150)
评论(0)
推荐(0)
摘要:
Web Components 先来个实例: 我想在页面中嵌入一个地图,怎么做? 嵌入地图的做法 Web Components方式 Web Components 适合js不熟悉的人,因为它可以不用写js语句,直接写html标签即可 . Web Components 在2014年 的 net award 阅读全文
posted @ 2016-08-10 14:30
DemonGao
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号