imweb-badjs
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "imweb-badjs", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "report with badjs based on simple!", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"homepage": "https://github.com/herbertliuhb/badjs", | ||
"_id": "imweb-badjs@0.2.1", | ||
"_id": "imweb-badjs@0.2.2", | ||
"dist": { | ||
@@ -34,3 +34,3 @@ "shasum": "6375be4bf0c9195a1c619edd13d4ae878e3fecdb", | ||
"_resolved": "https://registry.npmjs.org/imweb-badjs/-/imweb-badjs-0.2.0.tgz", | ||
"_shasum": "d604a95e91a9105d64a4df7ef084a3dc64d8f7d2", | ||
"_shasum": "1fe84ca3448da5c0a624b04bb575452ce779dcdd", | ||
"_npmVersion": "1.4.9", | ||
@@ -37,0 +37,0 @@ "_npmUser": { |
Simple | ||
================ | ||
* @author herbertliu | ||
* @date 2013-02-25 version 0.2 | ||
* @date 2013-02-25 version 0.2.3 | ||
* @description badjs上报 | ||
@@ -12,5 +12,2 @@ * @param msg {String} 上报错误信息 | ||
* @example Badjs.init(bid,mid,min) 初始化badjs一些参数,mid,默认的业务上报Monitor id,min 是否上报浏览器简化信息;或者Badjs.init(bid,{'1' : 0,'2' : 0,'4' : 0, '8' : 0},min) | ||
* @example Badjs.check(o,mid) 检查页面是否存在某些文件辅助方法 | ||
* @example Badjs.info(type) 获取badjs上报的头信息字符串,其中type为类型,不同的类型上报采用不同的字符串 | ||
* @example Badjs(msg,url,line,smid,level,min) badjs上报,上报字符串,地址,行号,Monitor属性id(可为空,即不报Monitor),上报级别;min,是否上报简略信息 | ||
* @example Badjs.report(retry,total,src,name,loaded) 文件加载失败时候,辅助上报方法 | ||
* @example Badjs(msg,url,line,smid,level,min) badjs上报,上报字符串,地址,行号,Monitor属性id(可为空,即不报Monitor),上报级别;min,是否上报简略信息 |
7925
12