You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/09/22 21:27:14 UTC
[1/2] docs commit: Added explicit return
Repository: cordova-docs
Updated Branches:
refs/heads/master ba6e50bdd -> 1802fd2e0
Added explicit return
This closes #733
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/1802fd2e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/1802fd2e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/1802fd2e
Branch: refs/heads/master
Commit: 1802fd2e0c533b4e40070616e8e0672346c547b4
Parents: 237ee1d
Author: tommy-carlos williams <to...@devgeeks.org>
Authored: Fri Sep 22 10:28:49 2017 +1000
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Sep 22 14:27:01 2017 -0700
----------------------------------------------------------------------
www/static/plugins/searchbar.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1802fd2e/www/static/plugins/searchbar.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/searchbar.jsx b/www/static/plugins/searchbar.jsx
index f3bff04..0b941c9 100755
--- a/www/static/plugins/searchbar.jsx
+++ b/www/static/plugins/searchbar.jsx
@@ -11,7 +11,7 @@ var SearchBar = createClass({
var cache = component._linkedRefs || (component._linkedRefs = {});
if (!component.refs) component.refs = {};
return cache[name] || (cache[name] = function(c) {
- component.refs[name] = c;
+ return component.refs[name] = c;
});
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] docs commit: CB-13305: Docs can't build because of ES6 code use
Posted by st...@apache.org.
CB-13305: Docs can't build because of ES6 code use
Updated `linkRef` function to use `var` and ES5 functions instead of
`let` and arrow functions.
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/237ee1d4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/237ee1d4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/237ee1d4
Branch: refs/heads/master
Commit: 237ee1d48fad494d7d4e13e91f957a64edac0d1c
Parents: ba6e50b
Author: tommy-carlos williams <to...@devgeeks.org>
Authored: Fri Sep 22 07:35:19 2017 +1000
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Sep 22 14:27:01 2017 -0700
----------------------------------------------------------------------
www/static/plugins/searchbar.jsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/237ee1d4/www/static/plugins/searchbar.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/searchbar.jsx b/www/static/plugins/searchbar.jsx
index ba544de..f3bff04 100755
--- a/www/static/plugins/searchbar.jsx
+++ b/www/static/plugins/searchbar.jsx
@@ -8,9 +8,9 @@ var SearchBar = createClass({
// polyfill of sorts for string refs
linkRef: function(component, name) {
- let cache = component._linkedRefs || (component._linkedRefs = {});
+ var cache = component._linkedRefs || (component._linkedRefs = {});
if (!component.refs) component.refs = {};
- return cache[name] || (cache[name] = c => {
+ return cache[name] || (cache[name] = function(c) {
component.refs[name] = c;
});
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org