Skip to content

Commit 13b3121

Browse files
committed
Merge branch "pr/26".
2 parents e02ea6e + 4ffc4fe commit 13b3121

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- Initializes Node.vim mappings for JSX (those with the `jsx` filetype) files.
88
- Adds `.es` to detected suffixes, so you can `gf` over `./foo` to open
99
`./foo.es`.
10+
- Updates URLs to use <https://github.com/nodejs/node> instead of the previous
11+
Joyent repo.
12+
Thanks, [Jacky Alciné](https://jacky.wtf), for the help!
1013

1114
## 0.8.1 (Apr 15, 2014)
1215
- Updates the URL from which Node.vim downloads Node core module source files.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tag:
2727
git tag "v$(VERSION)"
2828

2929
node.tar.gz:
30-
wget -c "https://github.com/joyent/node/archive/master.tar.gz" -O node.tar.gz
30+
wget -c "https://github.com/nodejs/node/archive/master.tar.gz" -O node.tar.gz
3131

3232
list-core-modules: node.tar.gz
3333
tar tf node.tar.gz |\

autoload/node/lib.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let s:RELPATH = '\v^\.\.?(/|$)'
33
let s:MODULE = '\v^(/|\.\.?(/|$))@!'
44

55
" Damn Netrw can't handle HTTPS at all. It's 2013! Insecure bastard!
6-
let s:CORE_URL_PREFIX = "http://rawgit.com/joyent/node"
6+
let s:CORE_URL_PREFIX = "http://rawgit.com/nodejs/node"
77
let s:CORE_MODULES = ["_debugger", "_http_agent", "_http_client",
88
\ "_http_common", "_http_incoming", "_http_outgoing", "_http_server",
99
\ "_linklist", "_stream_duplex", "_stream_passthrough", "_stream_readable",

test/autoload/lib_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def find(name)
262262
it "must return URL for core module for current Node version" do
263263
set_node_version "0.13.37"
264264
$vim.edit File.join(@dir, "index.js")
265-
url = "http://rawgit.com/joyent/node/v0.13.37/lib/assert.js"
265+
url = "http://rawgit.com/nodejs/node/v0.13.37/lib/assert.js"
266266
find("assert").must_equal url
267267
end
268268

@@ -271,14 +271,14 @@ def find(name)
271271
File.chmod 0755, File.join(@dir, "node")
272272
$vim.edit File.join(@dir, "index.js")
273273
$vim.command(%(let $PATH = "#@dir:" . $PATH))
274-
url = "http://rawgit.com/joyent/node/master/lib/assert.js"
274+
url = "http://rawgit.com/nodejs/node/master/lib/assert.js"
275275
find("assert").must_equal url
276276
end
277277

278278
it "must return URL for node.js for current Node version" do
279279
set_node_version "0.13.37"
280280
$vim.edit File.join(@dir, "index.js")
281-
url = "http://rawgit.com/joyent/node/v0.13.37/src/node.js"
281+
url = "http://rawgit.com/nodejs/node/v0.13.37/src/node.js"
282282
find("node").must_equal url
283283
end
284284

@@ -287,7 +287,7 @@ def find(name)
287287
File.chmod 0755, File.join(@dir, "node")
288288
$vim.edit File.join(@dir, "index.js")
289289
$vim.command(%(let $PATH = "#@dir:" . $PATH))
290-
url = "http://rawgit.com/joyent/node/master/src/node.js"
290+
url = "http://rawgit.com/nodejs/node/master/src/node.js"
291291
find("node").must_equal url
292292
end
293293
end

0 commit comments

Comments
 (0)