This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * http://www.tudou.com/plcover/ah20h1-t4V4/ | |
| * 这个 React.js 教程的视频专辑竟然没有排序! | |
| * @Sigma | |
| */ | |
| JSON.stringify([].slice.call($('h6.caption>a'),0).map(function(a){ | |
| var title = $(a).text(); | |
| var _match = title.match(/\d+\./); | |
| if( _match && _match.length ){ | |
| var index = title.match(/(\d+)\./)[1]; |
NewerOlder