lbcode是一款基于jQuery的轻量级网页代码修饰器
时间:2015-05-10 12:31:13 来源:xwidea.com 作者:xwidea.com 点击:1323次
lbcode是一款基于jQuery的轻量级网页代码修饰器,超小的体积,灵活而易拓展,兼容了包括ie6在内的所有浏览器。
lbcode v2.0下载地址:http://pan.baidu.com/s/1i307FwD
示例代码如下:
if (defined('ENVIRONMENT'))
{
switch (ENVIRONMENT)
{
case 'development':
error_reporting(E_ALL);
break;
case 'testing':
case 'production':
error_reporting(0);
break;
default:
exit('The application environment is not set correctly.');
}
}
网友评论
