Skip to content

Commit cd7357d

Browse files
update to vue 2.5.16
1 parent 3f2a128 commit cd7357d

18 files changed

+2457
-1488
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: vueR
22
Type: Package
33
Title: 'Vuejs' Helpers and 'Htmlwidget'
4-
Version: 0.4.0
5-
Date: 2017-10-10
4+
Version: 0.5.0
5+
Date: 2018-03-19
66
Authors@R: c(
77
person(
88
"Evan","You"

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015
3+
Copyright (c) 2018
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# vueR 0.5.0
2+
3+
* Updated to Vue [2.5.16](https://github.com/vuejs/vue/releases/tag/v2.5.16)
4+
15
# vueR 0.4.0
26

37
* Updated to Vue [2.4.4](https://github.com/vuejs/vue/releases/tag/v2.4.4)

R/meta.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#'@keywords internal
2-
vue_version <- function(){'2.4.4'}
2+
vue_version <- function(){'2.5.16'}

docs/LICENSE.html

+19-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/index.html

+19-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/intro_to_vueR.html

+18-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/authors.html

+19-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+19-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/news/index.html

+27-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,14 @@ pre, code {
137137
color: #333;
138138
}
139139

140-
pre img {
140+
pre .img {
141+
margin: 5px 0;
142+
}
143+
144+
pre .img img {
141145
background-color: #fff;
142146
display: block;
147+
height: auto;
143148
}
144149

145150
code a, pre a {

docs/pkgdown.js

+37
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,41 @@ $(function() {
55
offset: 60
66
});
77

8+
var cur_path = paths(location.pathname);
9+
$("#navbar ul li a").each(function(index, value) {
10+
if (value.text == "Home")
11+
return;
12+
if (value.getAttribute("href") === "#")
13+
return;
14+
15+
var path = paths(value.pathname);
16+
if (is_prefix(cur_path, path)) {
17+
// Add class to parent <li>, and enclosing <li> if in dropdown
18+
var menu_anchor = $(value);
19+
menu_anchor.parent().addClass("active");
20+
menu_anchor.closest("li.dropdown").addClass("active");
21+
}
22+
});
823
});
24+
25+
function paths(pathname) {
26+
var pieces = pathname.split("/");
27+
pieces.shift(); // always starts with /
28+
29+
var end = pieces[pieces.length - 1];
30+
if (end === "index.html" || end === "")
31+
pieces.pop();
32+
return(pieces);
33+
}
34+
35+
function is_prefix(needle, haystack) {
36+
if (needle.length > haystack.lengh)
37+
return(false);
38+
39+
for (var i = 0; i < haystack.length; i++) {
40+
if (needle[i] != haystack[i])
41+
return(false);
42+
}
43+
44+
return(true);
45+
}

0 commit comments

Comments
 (0)