For development, you will only need Node.js installed on your environement. And please use the appropriate Editorconfig plugin for your Editor (not mandatory).
This file contains 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
// go on you labels pages | |
// eg https://github.com/cssnext/cssnext/labels | |
// paste this script in your console | |
// copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".label-link")) | |
.forEach(function(element) { | |
labels.push({ | |
name: element.textContent.trim(), |
This file contains 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
external link : ReasonReact.reactClass = | |
"default" | |
[@@bs.module "@phenomic/plugin-renderer-react/lib/components/Link"]; | |
let make | |
href::(href: string) | |
style::(style: option ReactDOMRe.Style.t)=? | |
activeStyle::(activeStyle: option ReactDOMRe.Style.t)=? | |
className::(className: option string)=? | |
activeClassName::(activeClassName: option string)=? |
This file contains 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
{ | |
"//field": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment", | |
"field": {}, | |
"#another-field": "Another comment", | |
"another-field": {}, | |
"/*stuff": "Be careful to use them when you have full control of the content :)", | |
"stuff": [], | |
"bla": "bla" | |
} |
This file contains 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
// now no problem :D |
This file contains 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(options) { | |
var el | |
, a | |
, i | |
if (!options.tagName) { | |
el = document.createDocumentFragment() | |
} | |
else { | |
el = document.createElement(options.tagName) | |
if (options.className) { |
This file contains 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 prefix = "storage." | |
, storage = { | |
getAll: function() { | |
var data = {}; | |
for (var key in localStorage){ | |
if (key.indexOf(prefix) === 0) { | |
data[key.replace(prefix, "")] = storage.getFromLocalStorage(key); | |
} | |
} |
NewerOlder