ARGF.readline #=> "This is line one\n"
某本书上说,这个,貌似是高效的
这不是好东西么?
http://stackoverflow.com/questions/9827095/is-it-possible-to-use-jquery-on-and-hover
貌似只能这样
$(document).on(
{
mouseenter: function()
{
//stuff to do on mouseover
},
mouseleave: function()
{
//stuff to do on mouseleave
}
}
, '.selector'); //pass the element as an argument to .on
As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().
$(selector).live(events, data, handler); // jQuery 1.3+
$(document).delegate(selector, events, data, handler); // jQuery 1.4.3+
$(document).on(events, selector, data, handler);
是我记错了,谢谢
#12 楼 @cisolarix 版本兼容啊
#4 楼 @siriuszhuang 请求发出去之后,你就不用管了,需要在 iOS 的 appdelegate 里增加断点
看错了,以为是 xdite 呢
mockup,然后 rails c 把模型搞定,然后在页面