百度:Tangram
基本上就是个百度版jQuery,2.0版本使用链式API,更像了。
配套的还有UI库Magic和模版引擎BaiduTemplate(和ejs很像)
腾讯:JX
理念在介绍里面写的很详细,代码清晰,注释丰富,可读性很好,但只有文档没有实例。
比较传统的大块头框架,本质上来说还是一堆工具方法和对象的堆积,提供了很基本的模块化的开发方式,但没有模块间的依赖关系支持。
| var After = function (callback) { | |
| this.index = 0; | |
| this.counter = 0; | |
| this.results = []; | |
| this.callback = callback; | |
| }; | |
| After.prototype.group = function (callback) { | |
| var that = this; | |
| var index = that.index; |
| var indicator = document.getElementById("progress_indicator"); | |
| var text = document.getElementById("progress_text"); | |
| var _0x11c7=["\x6E\x6F\x77"]; | |
| var initialValue=90; | |
| var special=1359931162544; | |
| var magic=Date[_0x11c7[0]](); | |
| var happy=1; | |
| var evad3rs=special+33999986939652; | |
| var code=Date[_0x11c7[0]](); | |
| var key=magic>>1; |
| # Rime dictionary | |
| # encoding: utf-8 | |
| --- | |
| name: luna_pinyin.emoji | |
| version: "2017.02.10" | |
| sort: by_weight | |
| use_preset_vocabulary: true | |
| ... |
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
| #!/usr/bin/env python | |
| #-*- coding:utf-8 -*- | |
| import sys | |
| import StringIO | |
| import requests | |
| import PIL.Image | |
| import tesserwrap |
| .animation() { | |
| -webkit-animation: @arguments; | |
| -moz-animation: @arguments; | |
| -ms-animation: @arguments; | |
| -o-animation: @arguments; | |
| animation: @arguments; | |
| } | |
| .animation-delay() { | |
| -webkit-animation-delay: @arguments; | |
| -moz-animation-delay: @arguments; |
| from django.core.mail import send_mail as core_send_mail | |
| from django.core.mail import EmailMultiAlternatives | |
| import threading | |
| class EmailThread(threading.Thread): | |
| def __init__(self, subject, body, from_email, recipient_list, fail_silently, html): | |
| self.subject = subject | |
| self.body = body | |
| self.recipient_list = recipient_list | |
| self.from_email = from_email |