Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
leizi929
Sortable
提交
efe6f005
S
Sortable
项目概览
leizi929
/
Sortable
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Sortable
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
efe6f005
编写于
12月 17, 2014
作者:
D
Dan Dascalescu
浏览文件
操作
浏览文件
下载
差异文件
Fix Meteor demo
上级
cd37a0d1
20ed2ca7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
64 addition
and
2 deletion
+64
-2
meteor/example/.meteor/versions
meteor/example/.meteor/versions
+56
-0
meteor/example/client/define-object-type.js
meteor/example/client/define-object-type.js
+8
-1
meteor/example/package.json
meteor/example/package.json
+0
-1
未找到文件。
meteor/example/.meteor/versions
0 → 100644
浏览文件 @
efe6f005
application-configuration@1.0.3
autopublish@1.0.1
autoupdate@1.1.3
base64@1.0.1
binary-heap@1.0.1
blaze-tools@1.0.1
blaze@2.0.3
boilerplate-generator@1.0.1
callback-hook@1.0.1
check@1.0.2
ctl-helper@1.0.4
ctl@1.0.2
dburles:mongo-collection-instances@0.2.5
ddp@1.0.12
deps@1.0.5
ejson@1.0.4
fastclick@1.0.1
fezvrasta:bootstrap-material-design@0.2.1
follower-livedata@1.0.2
geojson-utils@1.0.1
html-tools@1.0.2
htmljs@1.0.2
http@1.0.8
id-map@1.0.1
insecure@1.0.1
jquery@1.0.1
json@1.0.1
launch-screen@1.0.0
livedata@1.0.11
logging@1.0.5
meteor-platform@1.2.0
meteor@1.1.3
minifiers@1.1.2
minimongo@1.0.5
mobile-status-bar@1.0.1
mongo@1.0.9
observe-sequence@1.0.3
ordered-dict@1.0.1
random@1.0.1
reactive-dict@1.0.4
reactive-var@1.0.3
reload@1.1.1
retry@1.0.1
routepolicy@1.0.2
rubaxa:sortable@0.7.3
session@1.0.4
spacebars-compiler@1.0.3
spacebars@1.0.3
templating@1.0.9
tracker@1.0.3
twbs:bootstrap@3.3.1
ui@1.0.4
underscore@1.0.1
url@1.0.2
webapp-hashing@1.0.1
webapp@1.1.4
meteor/example/client/define-object-type.js
浏览文件 @
efe6f005
...
@@ -58,7 +58,7 @@ Template.sortableItemTarget.events({
...
@@ -58,7 +58,7 @@ Template.sortableItemTarget.events({
name
.
hide
();
name
.
hide
();
input
.
focus
();
input
.
focus
();
},
},
'
blur input
'
:
function
(
event
,
template
)
{
'
blur input
[type=text]
'
:
function
(
event
,
template
)
{
// commit the change to the name
// commit the change to the name
var
input
=
template
.
$
(
'
input
'
);
var
input
=
template
.
$
(
'
input
'
);
input
.
hide
();
input
.
hide
();
...
@@ -66,6 +66,13 @@ Template.sortableItemTarget.events({
...
@@ -66,6 +66,13 @@ Template.sortableItemTarget.events({
// TODO - what is the collection here? We'll hard-code for now.
// TODO - what is the collection here? We'll hard-code for now.
// https://github.com/meteor/meteor/issues/3303
// https://github.com/meteor/meteor/issues/3303
Attributes
.
update
(
this
.
_id
,
{
$set
:
{
name
:
input
.
val
()}});
Attributes
.
update
(
this
.
_id
,
{
$set
:
{
name
:
input
.
val
()}});
},
'
keydown input[type=text]
'
:
function
(
event
)
{
// ESC or ENTER
if
(
event
.
which
===
27
||
event
.
which
===
13
)
{
event
.
preventDefault
();
event
.
target
.
blur
();
}
}
}
});
});
...
...
meteor/example/package.json
已删除
120000 → 0
浏览文件 @
cd37a0d1
../../package.json
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录