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
let selectedIconSet; | |
let selectedIcon; | |
let iconSetIndex; | |
let minimumTemp; | |
let maximumTemp; | |
module.exports = function (props) { | |
switch (props.node.name) { | |
case "icon": |
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
const TYPE_OBJECT = 0; | |
var channelPos = 0; | |
module.exports = function (props) { | |
if (props.node.objectType === TYPE_OBJECT) { | |
let channelName = youtube[channelPos].channel; | |
return channelName; | |
} else { |
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
var counter = 0; | |
module.exports = function (props) { | |
counter += 2; | |
return counter; | |
} |
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
module.exports = function (props) { | |
return [ | |
{ | |
title: "Kitten hides in an engine to find warmth on a cold winter night.", | |
url: "https://www.youtube.com/watch?v=mO3OYmvwnkg", | |
datePosted: "2020-11-17", | |
duration: "6:24", | |
views: 105078, | |
likes: 11000, | |
dislikes: 53 |
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
module.exports = function (props) { | |
return { | |
title: "Kitten hides in an engine to find warmth on a cold winter night.", | |
url: "https://www.youtube.com/watch?v=mO3OYmvwnkg", | |
datePosted: "2020-11-17", | |
duration: "6:24", | |
views: 105078, | |
likes: 11000, | |
dislikes: 53 | |
} |
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
module.exports = function (props) { | |
return "Kitten hides in an engine to find warmth on a cold winter night."; | |
} |