0.0.3 • Published 10 years ago

fis-preprocessor-jserrormonitor v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

fis-preprocessor-jserrormonitor

js error monitor for fis 2

###��װ

$ npm install -g fis-preprocessor-jserrormonitor

###����

fis.config.merge({
    namespace: 'demo',
    modules: {
	preprocessor: {
		js: 'jserrormonitor'
	},
    },
    settings: {
        preprocessor: {
            'jserrormonitor':  {
		file: {
			include: /.js$/, //����ƥ�����ļ����粻ָ���򲻼����κ��ļ�
			exclude: /\/lib\//i  //�ų���Ҫ���ص��ļ�
		},
		func: {
			include: /init/i, //ֻ����ƥ���ĺ��������粻ָ���򲻼���
			exclude: ''  //�ų���Ҫ���صĺ���
		}
            }
        }
    }
});

###ʹ��

  • ��Ҫ���ش����ĺ������巽ʽΪ�� XXX = function (a, b) {
  • ���к�������include����ƥ�����Զ����Ӽ��ش���
0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago