diff options
author | drry | 2008-12-17 18:43:47 +0000 |
---|---|---|
committer | drry | 2008-12-17 18:43:47 +0000 |
commit | f32bb46169cf759794220600e88cca04df6f3404 (patch) | |
tree | 278e7deb821d4f8b422fd4cf054f99723025830e /stella.js | |
parent | 3bb16eb79fcf44257888a295d03b65641a29880f (diff) | |
download | vimperator-plugins-f32bb46169cf759794220600e88cca04df6f3404.tar.bz2 |
* fixed a regex.
* et cetera.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26977 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'stella.js')
-rw-r--r-- | stella.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -42,6 +42,7 @@ let PLUGIN_INFO = <version>0.11</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos2</author> + <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos3</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> <minVersion>2.0pre</minVersion> @@ -570,7 +571,7 @@ Thanks: Player.apply(this, arguments); } - YouTubePlayer.getIDfromURL = function (url) let ([_, r] = url.match(/[?&]v=([-\w]+)/)) r; + YouTubePlayer.getIDfromURL = function (url) let ([_, r] = url.match(/[?;&]v=([-\w]+)/)) r; YouTubePlayer.prototype = { __proto__: Player.prototype, @@ -634,7 +635,7 @@ Thanks: get relatedIDs () { let result = []; - let doc = content.document; + let doc = content.document; let r = doc.evaluate("//div[@class='video-mini-title']/a", doc, null, 7, null); for (let i = 0, l = r.snapshotLength; i < l; i++) { let e = r.snapshotItem(i); @@ -990,7 +991,7 @@ Thanks: self.cachedInfo.flvInfo = parseParameter(res); } - function getPostkey (){ + function getPostkey () { liberator.log('getPostkey') let info = self.cachedInfo; if (info.postkey !== undefined) @@ -1464,7 +1465,7 @@ Thanks: let install = function () { let stella = liberator.plugins.stella = new Stella(); stella.addUserCommands(); - liberator.log('Stella: installed.'); + liberator.log('Stella: installed.') }; // すでにインストール済みの場合は、一度ファイナライズする |