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
<html> | |
<head> | |
<style type="text/css"> | |
.ccc{ background-color: blue; } | |
</style> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function createClass(name,rules){ |
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
#!/usr/bin/env node | |
var program = require('commander'); | |
var request = require('request'); | |
var chalk = require('chalk'); | |
program | |
.version('0.0.1') | |
.usage('[options] <keywords>') | |
.option('-o, --owner [name]', 'Filter by the repositories owner') |
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
<body oninput='f.srcdoc=t0[v="value"]+"<script>"+t2[v]+"</script><style>"+t1[v]'onload='for(i=3;i--;)f.outerHTML+="<textarea id=t"+i+" rows=9>"'><iframe id=f> |
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 gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var jshint = require('gulp-jshint'); | |
// Command line option: | |
// --fatal=[warning|error|off] | |
var fatalLevel = require('yargs').argv.fatal; | |
var ERROR_LEVELS = ['error', 'warning']; |
[ Launch: Fader ] 7179273 by vitapluvia
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
/** | |
* Minimal CSS parser | |
* @param {string} content [css style for to be parse into current document] | |
* @return {cssRules} [description] | |
*/ | |
function parseCss (content) { | |
var styleElement = document.createElement('style'); | |
styleElement.textContent = content; | |
document.implenmentation.createHTMLDocument('') | |
.body.appendChild(styleElement); |
NewerOlder