E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
1.9.1
jQuery-
1.9.1
源码分析系列(三) Sizzle选择器引擎——编译原理续(伪类选择器“PSEUDO”和子伪类选择器"CHILD"原子选择器详解)
我们知道Sizzle支持的伪类有有很多,为了便于处理被Sizzle分成了两类:单个单词的伪类“PSEUDO”和多个词语使用“-”链接的“CHILD”。我们下面一一分析。 先看"PSEUDO":a.Sizzle的伪类选择器"PSEUDO" 我们先整体看一下有哪些个伪类伪类生成匹配器的源码如下:matcher=Expr.filter[tokens[i].type].apply(null,tokens[
chua1989
·
2015-11-09 18:00
jQuery-
1.9.1
源码分析系列(三) Sizzle选择器引擎——编译原理续(伪类分割器setMatcher)
我也看过很多Sizzle源码分析的博客,伪类分割器setMatcher介绍的比较少。但是本人认为这是一个比较重要的难点,我第一遍看源码的时候也忽略了。现在回来看第二遍,一定要把这个东东弄懂。a.伪类分割器setMatcher伪类分隔器对伪类选择器进行分隔处理,返回处理后的最终匹配器。伪类和其他原子匹配器有些不同,伪类具有强制的位置关系,特别是和别的选择器并列的时候。比如"p[name]"中选择器“
chua1989
·
2015-11-07 18:00
加速访问国外网站
例如:我们可以这样引用jQuery <script src="//ajax.googleapis.com/ajax/libs/jquery/
1.9.1
/jquery.min.js"
·
2015-11-07 15:12
网站
WebService获得服务器时间
<script src="js/jquery-
1.9.1
.js" type="text/javascript"></script&
·
2015-11-07 12:54
webservice
无刷新效果统计在线人数
<script src="js/jquery-
1.9.1
.js" type="text/javascript">
·
2015-11-07 12:53
刷新
jQuery判断邮箱
<head> <title></title> <script src="jquery-
1.9.1
.js" type="text
·
2015-11-07 12:44
jquery
jQuery判断密码强度
<title></title> <script src="jquery-
1.9.1
.js" type="text/javascript"
·
2015-11-07 12:44
jquery
jQuery对节点进行操作
<title></title> <script src="jquery-
1.9.1
.js" type="text/javascript"
·
2015-11-07 12:41
jquery
jQuery实现变色
<title></title> <script src="jquery-
1.9.1
.js" type="text/javascript"
·
2015-11-07 12:40
jquery
jQuery实现简单登陆判断
<script src="jquery-
1.9.1
.js"></script> <script type="
·
2015-11-07 12:38
jquery
jQuery弹出select选择
<script src="jquery-
1.9.1
.js"></script>
·
2015-11-07 12:37
jquery
jQuery动态创建元素
<script src="jquery-
1.9.1
.js"></script> <script type
·
2015-11-07 12:36
jquery
点击飞入购物车效果
charset="utf-8" /> <title>点击飞入购物车效果</title> <script src="jquery-
1.9.1
·
2015-11-07 12:38
购物车
使用ANT、Proguard混淆、发布与反编译Android应用
FirstStep:下载ANT 1、 下载后解压到D:\Program Files\apache-ant-
1.9.1
2、 新建ANT_HOME环境变量(D:\Program
·
2015-11-07 11:11
ProGuard
技术七Gitservergitolite要构建和操作方便
环境: Ubuntu server 14.04.1 、Git
1.9.1
gitolite3 对于Git的介绍这里就不介绍。有兴趣的大家能够自己去网上搜搜
·
2015-11-07 10:23
server
jQuery-
1.9.1
源码分析系列(三) Sizzle选择器引擎——编译原理
这一节要分析的东东比较复杂,篇幅会比较大,也不知道我描述后能不能让人看明白。这部分的源码我第一次看的时候也比较吃力,现在重头看一遍,再分析一遍,看能否查缺补漏。看这一部分的源码需要有一个完整的概念后去看才比较容易看懂,所以我们先把整个编译的原理阐述以后再进行解析。还是以上次的那个CSS选择器为例:#chua>a+.grouplabe[for="age"]。按照我们正常解析CSS的思路从右往左解析(
chua1989
·
2015-11-06 19:00
jQuery-
1.9.1
源码分析系列(三) Sizzle选择器引擎——词法解析
jQuery源码9600多行,而Sizzle引擎就独占近2000行,占了1/5。Sizzle引擎、jQuery事件机制、ajax是整个jQuery的核心,也是jQuery技术精华的体现。里面的有些策略确实很值得学习,先膜拜之,然后细细学习。在学习Sizzle引擎之前我们先准备一点知识,和先了解Sizzle引擎的一点工作原理。 chua的测试用例 年龄: Sizzle引擎查
chua1989
·
2015-11-05 18:00
jQuery-
1.9.1
源码分析系列(二)jQuery选择器续2——筛选
前面分析了选择器的结构和几个解析函数,接下来分析jQuery对象的伪类选择器。这里所谓的jQuery对象的伪类选择器就是从已有的jQuery对象(元素集合)中筛选出指定的集合出来。4. jQuery的伪类选择函数 先混个脸熟,把所有能找到的jQuery的伪类选择器都列出来。jQuery.fn.eq(函数用于获取当前jQuery对象所匹配的元素中指定索引的元素,并返回封装该元素的jQuery对象)
chua1989
·
2015-11-05 11:00
jQuery-
1.9.1
源码分析系列(二)jQuery选择器续1
在分析之前说一点题外话。ownerDocument和documentElement的区别ownerDocument是Node对象的一个属性,返回的是某个元素的根节点文档对象:即document对象;documentElement是Document对象的属性,返回的是文档根节点对于HTML文档来说,documentElement是标签对应的Element对象,ownerDocument是docume
chua1989
·
2015-11-04 17:00
emberjs学习二(ember-data和localstorage_adapter)
如下"dependencies":{ "jquery":"~
1.9.1
", "ember":"~1.13.10", "handlebars":"~1.3.0
田想兵
·
2015-11-04 15:00
jQuery-
1.9.1
源码分析系列(二)jQuery选择器
1.选择器结构 jQuery的选择器根据源码可以分为几块init:function(selector,context,rootjQuery){ ... //HANDLE:$(""),$(null),$(undefined),$(false) ... //HandleHTMLstrings if(typeofselector==="string"){ ... //HANDLE:$(DO
chua1989
·
2015-11-04 11:00
原创 Repeater radio 单选和多选混合
/Scripts/jquery-
1.9.1
.js"></script> 2 <script type="text/javascript"
·
2015-11-03 22:01
Radio
solr4.5安装配置 linux+tomcat6.0+mmseg4j-
1.9.1
分词
首先先介绍下solr的安装配置 solr下载地址 (我这用的solr-4.5.0) 运行环境 JDK 1.5或更高版本 下载地址(Solr 4以上版本,要求JDK 1.6) 我用的JDK1.6 ) 一个java servlet容器,如Tomcat 下载地址 (我用的Tomcat 6,注:JDK1.7 跟Tomcat 7貌似有兼容性问题,记
·
2015-11-03 21:38
mmseg4j
jQuery-
1.9.1
源码分析系列(一)整体架构续
这一节主要是jQuery中最基础的几个东东 2. jQuery的几个基础属性和函数a.jQuery.noConflict函数详解 在jQuery初始化的时候保存了外部的$和jQuery_jQuery=window.jQuery, _$=window.$,noConflict函数noConflict:function(deep){ if(window.$===jQuery){ wind
chua1989
·
2015-11-03 16:00
jQuery-
1.9.1
源码分析系列(一)整体架构
不废话,直接上关键。这个系列中有好些直接借用别人的资料,我将他们整合在自认为比较合理的地方。所以在此先谢谢那些前辈。注意:后续系列中jQuery实例多用$(...)来表示1. 初始化与链式调用基础 jQuery之所以能够链式调用在于每次调用返回来jQuery本身。实现关键代码如下。 jQuery=function(selector,context){ returnnewjQuery.fn.i
chua1989
·
2015-11-03 15:00
asp.net利用Ajax和Jquery在前台向后台传参数并返回值
1》前台 首先需要 Jquer的包 <script src="js/jquery-
1.9.1
.js" type="text/javascript"
·
2015-11-02 17:20
asp.net
jQuery 2.0发布,不支持IE 6/7/8
更加轻量,2.0版本文件与
1.9.1
相比小了12%。 模块化,你可以自定义构建一个更小、更轻量的版本。 兼容jQuery 1.9版本的API。 如果你仍有大量目标用户在使用IE
·
2015-11-02 15:37
jquery
解决rspec 生成报告时报utf-8错误的方法
找到gems\
1.9.1
\gems\rspec-core-2.14.3\lib\rspec\core\formatters\snippet_extractor.rb文件中的第27行:
·
2015-11-02 14:52
rspec
iOS Sprite Kit教程之真机测试以及场景的添加与展示
iOS Sprite Kit教程之真机测试以及场景的添加与展示 IOS实现真机测试 在进行真机测试之前,首先需要确保设备已经连在了Mac(或者Mac虚拟机)上,在第
1.9.1
小节开始,设备就一直连接在
·
2015-11-02 12:16
Sprite
Piwik
1.9.1
发布,网站访问统计系统
Piwik
1.9.1
发布了,该版本修复了前几天刚发布的 1.9 的一些小 bug。 Piwik是一套基于Php+MySQL技术构建的开源网站访问统计系统,前身是phpMyVisites。
·
2015-11-01 09:09
网站
关于AutoComplete整合
那么今天主要用到的 js插件jquery-UI-AutoComplete ,jquery-
1.9.1
.js C#技术:反射,Attribute。
·
2015-11-01 08:04
autocomplete
jQery学习
而且格式缩进都被删除了……) 例子 <script type="text/javascript" charset="utf-8" src="jquery-
1.9.1
·
2015-10-31 19:06
学习
jQuery 复选框全选/取消全选/反选
/js/jquery-
1.9.1
.js"></script> &
·
2015-10-31 16:02
jquery
ubuntu 14.04 安装git server
版本信息 ubuntu : 14.04.1 git version
1.9.1
perl v5.10.1 ssh OpenSSH_6.6.1p1 本次安装的git server
·
2015-10-31 13:50
ubuntu
The usage of the Javascript method call and apply(what is the new and object.create difference.)(What does call(null) mean?)
<html> <head> <script src="http://code.jquery.com/jquery-
1.9.1
.js">&
·
2015-10-31 13:14
JavaScript
js - SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data jquery-
1.9.1
.min.js
FF中时不时报这个错, 就近段做项目来看, 一般是我通过 jquery获取form中的参数(或直接获取参数,并通过ajax进行异步请求的时候,如果有错,就抱该错误! 而对应的, 如果在 Google chrome中, 则会报: Uncaught SyntaxError: Unexpected token < 我觉得Google chrome的这个错, 有点不太准
·
2015-10-31 13:56
character
jquery国内cdn
http://lib.sinaapp.com/js/jquery/
1.9.1
/jquery-
1.9.1
.min.js <script type="text/javascript"
·
2015-10-31 12:55
jquery
基于Lucene.net开源搜索 浅谈
akunshenjk/archive/2008/03/28/2226040.aspx 早在一年前我就曾接触到Lucene.net 当时版本为
1.9.1
·
2015-10-31 11:14
Lucene
MVC 中引入Jquery文件的几种方法
方法1: <script src="@Url.Content("~/Scripts/jquery-
1.9.1
.js")" type="text/
·
2015-10-31 11:51
jquery
安装openshift客户端工具 rhc
完成 将会安装下列额外的软件包: libruby
1.9.1
libruby
1.9.1
-dbg libtcltk-ruby
1.9.1
libyaml-0-2 ri
1.9.1
ruby1
·
2015-10-31 10:57
openshift
iBatis开发者手册翻译(目录)
Data Access Objects Developer Guide(Data Access Objects 开发者指南) Version
1.9.1
(版本
1.9.1
) March 2007
·
2015-10-31 10:31
ibatis
[Jquery]斑马线表格
doctype html> <html> <head> <script src='js/jquery-
1.9.1
.min.js'></script&
·
2015-10-31 09:32
jquery
jQuery.trim()方法
DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-
1.9.1
·
2015-10-31 08:03
jquery
jQuery事件绑定.on()
然后在一处看到live()已经被移除了,囧,然后去看了最新的jq源码,果然被移除了,现在是
1.9.1
版本,不知道live()是在之前哪个版本被移除的,惭愧啊,之前都没留意。
·
2015-10-31 08:05
jquery
simplemodal — jquery弹出窗体插件
方式一:使用jquery-1.7.1.min.js(
1.9.1
的版本我试过了,不行) + jquery_modal.js的方式 文件:  
·
2015-10-31 08:32
jquery
Ubuntu 10.10 安装配置 Ruby on Rails
http://www.linuxidc.com/Linux/2010-12/30380.htm Ubuntu 更新源里自带有Ruby和Rails,但是都不是最新版,Ruby版本大概还有
1.9.1
·
2015-10-30 13:17
ruby on rails
jQuery UI
1.9.1
发布
jQuery UI 1.9 首个维护版本发布了,修复了包括 Accordion, Autocomplete, Button, Datepicker, Dialog, Slider, Spinner, Tabs, Tooltip, Draggable, Resizable, Sortable, Widget Factory, Effects and CSS Framework 在内的一些 bug,完
·
2015-10-30 13:01
jQuery UI
Ubuntu12.04.1LTS x86-64上安装ROR and redmine
1、安装编译依赖 sudo apt-get build-dep ruby
1.9.1
安装完这个,基本大部分的依赖库都全了,需要的的话,根据错误提示安装
·
2015-10-30 12:30
redmine
Jetbrains IDE 中 compass sass 设置
/usr/bin/ruby
1.9.1
extconf.rb” 那么请删除后重新安装 ruby sud
·
2015-10-30 11:35
compass
OpenAL Installer for Windows
Installer for Windows Posted on 4/10/2003 Updated April 3, 2006 : Version
1.9.1
·
2015-10-28 09:54
windows
上一页
17
18
19
20
21
22
23
24
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他