rxjs-cn / rxjs-docs-cn Goto Github PK
View Code? Open in Web Editor NEWRxJS 5 中文文档
Home Page: https://cn.rx.js.org
License: Apache License 2.0
RxJS 5 中文文档
Home Page: https://cn.rx.js.org
License: Apache License 2.0
详见 #3398
RxJS version:
Code to reproduce:
Expected behavior:
Actual behavior:
Additional information:
RxJS version:
Code to reproduce:
Expected behavior:
Actual behavior:
Additional information:
RxJS version:
6.0.0-alpha.0
Code to reproduce:
var input = Rx.Observable.fromEvent(document.querySelector('input'), 'input');
input.pluck('target', 'value').distinct()
.subscribe(value => console.log(value));
Expected behavior: (当输入 hello world
之后的输出)
"helo wrd"
Actual behavior:
"hello world"
Additional information:
感觉这个 .distinct()
并没有起到什么作用,还有接下来的那个例子也是如此
var input = Rx.Observable.fromEvent(document.querySelector('input'), 'input');
input.pluck('target', 'value').distinctUntilChanged()
.subscribe(value => console.log(value));
得到的结构还是 hello world
chrome浏览器,我是在工作台直接测试的
是我使用的姿势不对吗?
https://cn.rx.js.org/class/es6/Observable.js~Observable.html#instance-method-last
在这个页面下,查找last操作符,会发现如下描述
public last(predicate: function): Observable
而first
操作符的描述如下
public first(predicate: function(value: T, index: number, source: Observable<T>): boolean, resultSelector: function(value: T, index: number): R, defaultValue: R): Observable<T | R>
实际上,last
与first
相类似也有defaultValue.(经过实测).是不是描述漏了?
@SangKa
看到这里的贡献指南说是同步更新到 tracking-source 分支。
我有个设想,如果从 tracking-source 分支拉出一个 cn 分支出来,然后在 cn 分支上面翻译。等 tracking-source 有上游更新,再次合并到 cn 分支时,就会提示冲突,然后解决冲突,就可以很方便的感知上游的更新。
可以参考 webpack-china 的做法(英文 master、中文 master、中文 cn,分别对应我上面说的 master、tracking-source、cn 三个分支)。
你好,我是来自印记中文 docschina 的 heyli,目前就职于腾讯 AlloyTeam。感谢您为 rxjs 与 mobx中文文档做的贡献,希望邀请你一起共同维护 rxjs 与 mobx 文档,一起整合社区翻译资源及人才,打造更好的技术文档翻译社区。如有兴趣,可添加QQ: 249806703 或 微信:lcxfs1991。
原因: 浏览器兼容问题,老浏览器不支持 NodeList.prototype.forEach
, 参见 NodeList.forEach()
今天刚合并到官方库中,中文库即将同步,然后进行翻译
详情见此 PR
https://github.com/docschina/rxjs-in-action
我们建立了印记中文QQ群,如果有人愿意参与的话,请加QQ群 492361223。
可以的话,麻烦 @SangKa 帮忙宣传一下,让更多的人参与进来。
markdown 生成 html 的时候, 如果标题中没有英文单词, 生成的 id 为 -
, 导致在页面中跳转时, 无法跳转到页面中的正确位置
ESDoc 的菜单及各种 tag 无法通过配置来实现汉化
目前来看需要通过代码来实现
在 header 中增加此功能
大佬!你好呀,关注你很久啦,在掘金上拜读了您非常干货的前端知识分享。
近期 FinClip正在举办作者征文活动,想邀请您来体验 FinClip 小程序容器的功能,并为大家分享一下您的使用体验。官方也会为您提供非常丰富的现金奖励。诚邀您关注参与:https://www.finclip.com/blog/nrgc/
另外这是我们的官网http://finclip.com ,我们的技术主要是围绕「小程序容器技术」,可以帮助任何app、车载、智能终端都拥有小程序运行的能力,期待您的关注。
RxJS version:
Code to reproduce:
Expected behavior:
Actual behavior:
Additional information:
增加一个页面用来介绍下中文站及译者
除 Observable 外的其他所有 API
目前中文翻译停留在5.x版本,这个版本和6.x已经存在很多差异,在例子中已经不能运行了,是否考虑更新一下翻译文档?
目前 ESDoc 生成的中文均是 RxJS 中文文档
这样的 html 实体,
会导致 title 中的中文无法很好的被搜索引擎蜘蛛识别,所以需要优化下,在生成 html 文档后用 node 优化 title 。
observable 部分的翻译,把 ES2015 写成了 ES2105
rxjs中文社区的QQ群已满,能扩容或者再建一个吗啊?
虽然 Subscription
一词翻译译为订阅是广泛的共识,但当 Subscription
和 subscribe
同时出现在一句话中时,两个词都翻译为订阅,前者为名词,后者为动词。这个时候就需要读者自行判断具体是名词还是动词,所以建议 Subscription
一词保留原文,不作翻译,以区别于 subscribe
。
目标路径:
doc/writing-marble-tests.md
doc/operator-creation.md
这两节算是高级篇了,内容非常有用,但目前官方没有展示入口,
所以先翻译,至于如果展示还在和官方团队讨论,参见此 PR
RxJS version:
Code to reproduce:
Expected behavior:
Actual behavior:
Additional information:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.