/*!
* UEditor
* version: ueditor
* build: Wed Aug 10 2016 11:06:16 GMT+0800 (CST)
*/
(function(){
// editor.js
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = window.UE || {};
UE.plugins = {};
UE.commands = {};
UE.instants = {};
UE.I18N = {};
UE._customizeUI = {};
UE.version = "1.4.3";
var dom = UE.dom = {};
// core/browser.js
/**
* 浏览器判断模块
* @file
* @module UE.browser
* @since 1.2.6.1
*/
/**
* 提供浏览器检测的模块
* @unfile
* @module UE.browser
*/
var browser = UE.browser = function(){
var agent = navigator.userAgent.toLowerCase(),
opera = window.opera,
browser = {
/**
* @property {boolean} ie 检测当前浏览器是否为IE
* @example
* ```javascript
* if ( UE.browser.ie ) {
* console.log( '当前浏览器是IE' );
* }
* ```
*/
ie : /(msie\s|trident.*rv:)([\w.]+)/.test(agent),
/**
* @property {boolean} opera 检测当前浏览器是否为Opera
* @example
* ```javascript
* if ( UE.browser.opera ) {
* console.log( '当前浏览器是Opera' );
* }
* ```
*/
opera : ( !!opera && opera.version ),
/**
* @property {boolean} webkit 检测当前浏览器是否是webkit内核的浏览器
* @example
* ```javascript
* if ( UE.browser.webkit ) {
* console.log( '当前浏览器是webkit内核浏览器' );
* }
* ```
*/
webkit : ( agent.indexOf( ' applewebkit/' ) > -1 ),
/**
* @property {boolean} mac 检测当前浏览器是否是运行在mac平台下
* @example
* ```javascript
* if ( UE.browser.mac ) {
* console.log( '当前浏览器运行在mac平台下' );
* }
* ```
*/
mac : ( agent.indexOf( 'macintosh' ) > -1 ),
/**
* @property {boolean} quirks 检测当前浏览器是否处于“怪异模式”下
* @example
* ```javascript
* if ( UE.browser.quirks ) {
* console.log( '当前浏览器运行处于“怪异模式”' );
* }
* ```
*/
quirks : ( document.compatMode == 'BackCompat' )
};
/**
* @property {boolean} gecko 检测当前浏览器内核是否是gecko内核
* @example
* ```javascript
* if ( UE.browser.gecko ) {
* console.log( '当前浏览器内核是gecko内核' );
* }
* ```
*/
browser.gecko =( navigator.product == 'Gecko' && !browser.webkit && !browser.opera && !browser.ie);
var version = 0;
// Internet Explorer 6.0+
if ( browser.ie ){
var v1 = agent.match(/(?:msie\s([\w.]+))/);
var v2 = agent.match(/(?:trident.*rv:([\w.]+))/);
if(v1 && v2 && v1[1] && v2[1]){
version = Math.max(v1[1]*1,v2[1]*1);
}else if(v1 && v1[1]){
version = v1[1]*1;
}else if(v2 && v2[1]){
version = v2[1]*1;
}else{
version = 0;
}
browser.ie11Compat = document.documentMode == 11;
/**
* @property { boolean } ie9Compat 检测浏览器模式是否为 IE9 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie9Compat ) {
* console.log( '当前浏览器运行在IE9兼容模式下' );
* }
* ```
*/
browser.ie9Compat = document.documentMode == 9;
/**
* @property { boolean } ie8 检测浏览器是否是IE8浏览器
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie8 ) {
* console.log( '当前浏览器是IE8浏览器' );
* }
* ```
*/
browser.ie8 = !!document.documentMode;
/**
* @property { boolean } ie8Compat 检测浏览器模式是否为 IE8 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie8Compat ) {
* console.log( '当前浏览器运行在IE8兼容模式下' );
* }
* ```
*/
browser.ie8Compat = document.documentMode == 8;
/**
* @property { boolean } ie7Compat 检测浏览器模式是否为 IE7 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie7Compat ) {
* console.log( '当前浏览器运行在IE7兼容模式下' );
* }
* ```
*/
browser.ie7Compat = ( ( version == 7 && !document.documentMode )
|| document.documentMode == 7 );
/**
* @property { boolean } ie6Compat 检测浏览器模式是否为 IE6 模式 或者怪异模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie6Compat ) {
* console.log( '当前浏览器运行在IE6模式或者怪异模式下' );
* }
* ```
*/
browser.ie6Compat = ( version < 7 || browser.quirks );
browser.ie9above = version > 8;
browser.ie9below = version < 9;
browser.ie11above = version > 10;
browser.ie11below = version < 11;
}
// Gecko.
if ( browser.gecko ){
var geckoRelease = agent.match( /rv:([\d\.]+)/ );
if ( geckoRelease )
{
geckoRelease = geckoRelease[1].split( '.' );
version = geckoRelease[0] * 10000 + ( geckoRelease[1] || 0 ) * 100 + ( geckoRelease[2] || 0 ) * 1;
}
}
/**
* @property { Number } chrome 检测当前浏览器是否为Chrome, 如果是,则返回Chrome的大版本号
* @warning 如果浏览器不是chrome, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.chrome ) {
* console.log( '当前浏览器是Chrome' );
* }
* ```
*/
if (/chrome\/(\d+\.\d)/i.test(agent)) {
browser.chrome = + RegExp['\x241'];
}
/**
* @property { Number } safari 检测当前浏览器是否为Safari, 如果是,则返回Safari的大版本号
* @warning 如果浏览器不是safari, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.safari ) {
* console.log( '当前浏览器是Safari' );
* }
* ```
*/
if(/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(agent) && !/chrome/i.test(agent)){
browser.safari = + (RegExp['\x241'] || RegExp['\x242']);
}
// Opera 9.50+
if ( browser.opera )
version = parseFloat( opera.version() );
// WebKit 522+ (Safari 3+)
if ( browser.webkit )
version = parseFloat( agent.match( / applewebkit\/(\d+)/ )[1] );
/**
* @property { Number } version 检测当前浏览器版本号
* @remind
* <ul>
* <li>IE系列返回值为5,6,7,8,9,10等</li>
* <li>gecko系列会返回10900,158900等</li>
* <li>webkit系列会返回其build号 (如 522等)</li>
* </ul>
* @example
* ```javascript
* console.log( '当前浏览器版本号是: ' + UE.browser.version );
* ```
*/
browser.version = version;
/**
* @property { boolean } isCompatible 检测当前浏览器是否能够与UEditor良好兼容
* @example
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
(基于ssm框架的Java毕业设计)医院电子病历管理系统(源码+说明+演示视频) 【项目技术】 开发语言:Java 数据库:mysql 【实现功能】 前台首页功能模块: 医院电子病历管理系统 ,在医院电子病历管理系统可以查看首页、医院公告、科室信息、出诊信息、我的、跳转到后台等内容; 管理员功能模块: 在医院电子病历管理系统可以查看个人中心、医院公告管理、用户管理、科室信息管理、医生管理、出诊信息管理、预约时间段管理、预约挂号管理、门诊病历管理、就诊评价管理、系统管理等内容; 用户功能模块 : 预约挂号管理,在预约挂号管理页面通过查看医生工号、医生姓名、职称、科室、挂号费、出诊时间、时间段、就诊描述、日期、用户名、姓名、身份证、是否审核、审核回复、是否支付等信息进行查看、修改、删除; 医生功能: 个人信息,在个人信息页面通过查看医生工号、密码、医生姓名、性别、照片、职称、科室、擅长、手机等信息进行修改、删除
资源推荐
资源详情
资源评论
收起资源包目录
(基于ssm框架的Java毕业设计)医院电子病历管理系统(源码+说明+演示视频) (2000个子文件)
muban.jpg.bak 75KB
muban.jpg.bak 75KB
styles.css.bak 23KB
styles.css.bak 23KB
index.jsp.bak 4KB
index.jsp.bak 4KB
topNav.jsp.bak 1KB
topNav.jsp.bak 1KB
CommonController.class 10KB
CommonController.class 10KB
ChuzhenxinxiController.class 10KB
ChuzhenxinxiController.class 10KB
YishengController.class 10KB
YishengController.class 10KB
YonghuController.class 10KB
YonghuController.class 10KB
JiuzhenpingjiaController.class 8KB
JiuzhenpingjiaController.class 8KB
MenzhenbingliController.class 8KB
MenzhenbingliController.class 8KB
YuyueguahaoController.class 8KB
YuyueguahaoController.class 8KB
StoreupController.class 8KB
StoreupController.class 8KB
DiscussyiyuangonggaoController.class 8KB
DiscussyiyuangonggaoController.class 8KB
DiscusschuzhenxinxiController.class 8KB
DiscusschuzhenxinxiController.class 8KB
DiscusskeshixinxiController.class 8KB
DiscusskeshixinxiController.class 8KB
YuyueshijianduanController.class 8KB
YuyueshijianduanController.class 8KB
YiyuangonggaoController.class 8KB
YiyuangonggaoController.class 8KB
KeshixinxiController.class 8KB
KeshixinxiController.class 8KB
MPUtil.class 7KB
MPUtil.class 7KB
UserController.class 6KB
UserController.class 6KB
YuyueguahaoEntity.class 6KB
YuyueguahaoEntity.class 6KB
JiuzhenpingjiaEntity.class 5KB
JiuzhenpingjiaEntity.class 5KB
MenzhenbingliEntity.class 5KB
MenzhenbingliEntity.class 5KB
ChuzhenxinxiEntity.class 5KB
ChuzhenxinxiEntity.class 5KB
TokenServiceImpl.class 4KB
TokenServiceImpl.class 4KB
FileController.class 4KB
FileController.class 4KB
YishengEntity.class 4KB
YishengEntity.class 4KB
BaiduUtil.class 4KB
BaiduUtil.class 4KB
DiscussyiyuangonggaoServiceImpl.class 4KB
DiscussyiyuangonggaoServiceImpl.class 4KB
DiscusschuzhenxinxiServiceImpl.class 4KB
DiscusschuzhenxinxiServiceImpl.class 4KB
DiscusskeshixinxiServiceImpl.class 4KB
DiscusskeshixinxiServiceImpl.class 4KB
YuyueshijianduanServiceImpl.class 4KB
YuyueshijianduanServiceImpl.class 4KB
JiuzhenpingjiaServiceImpl.class 4KB
JiuzhenpingjiaServiceImpl.class 4KB
YiyuangonggaoServiceImpl.class 4KB
MenzhenbingliServiceImpl.class 4KB
YiyuangonggaoServiceImpl.class 4KB
MenzhenbingliServiceImpl.class 4KB
ChuzhenxinxiServiceImpl.class 4KB
ChuzhenxinxiServiceImpl.class 4KB
YuyueguahaoServiceImpl.class 4KB
YuyueguahaoServiceImpl.class 4KB
KeshixinxiServiceImpl.class 4KB
KeshixinxiServiceImpl.class 4KB
YonghuEntity.class 4KB
YonghuEntity.class 4KB
YishengServiceImpl.class 4KB
StoreupServiceImpl.class 4KB
YishengServiceImpl.class 4KB
StoreupServiceImpl.class 4KB
YonghuServiceImpl.class 4KB
YonghuServiceImpl.class 4KB
ConfigController.class 4KB
ConfigController.class 4KB
AuthorizationInterceptor.class 3KB
AuthorizationInterceptor.class 3KB
YuyueguahaoModel.class 3KB
YuyueguahaoModel.class 3KB
YuyueguahaoVO.class 3KB
YuyueguahaoVO.class 3KB
YiyuangonggaoEntity.class 3KB
YiyuangonggaoEntity.class 3KB
JiuzhenpingjiaModel.class 3KB
JiuzhenpingjiaModel.class 3KB
JiuzhenpingjiaVO.class 3KB
JiuzhenpingjiaVO.class 3KB
DiscussyiyuangonggaoEntity.class 3KB
DiscussyiyuangonggaoEntity.class 3KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- ltw159698179632023-11-24资源简直太好了,完美解决了当下遇到的难题,这样的资源很难不支持~
岛上程序猿
- 粉丝: 2809
- 资源: 4154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 藏区特产销售平台源代码+论文+毕业设计.zip
- B297C8EC5A69641DB3E681E1B3F894E5.mp4
- PrimitivesPro v2.2.unitypackage
- 财务管理系统源代码+论文.zip
- 高级信息通信运行管理员第七套试卷
- UModeler v2.11.6 (May 10, 2024).unitypackage
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本127.0.6486.0)
- 基于FPGA的CORDIC算法旋转模式实现
- bilibili视频解析下载源码
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本124.0.6367.60)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功