Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
@mixin same($values...){ | |
$length: length($values); | |
$value: nth($values, $length); | |
@for $i from 1 to $length{ | |
#{nth($values, $i)}: $value; | |
} | |
} | |
//Usage: |
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
display: inline-block; |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
describe('Descrição do grupo de testes', function() { | |
beforeEach(function() { | |
// Roda antes de cada teste | |
}); | |
afterEach(function() { | |
// Roda depois de cada teste | |
}); |
exports.config = { | |
seleniumAddress: | |
'http://localhost:4444/wd/hub', | |
specs: ['spec.js'] | |
} |
<div id='teste'>Hello World</div> |
var tag="mytag";r="";$tw.wiki.each(function(t){if(t.hasTag(tag)){r=r+" "+(t.fields.text||"")}});r.trim().replace(/\s+/gi," ").split(" ").length |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Cmd Key CSS</title> | |
<style id="jsbin-css"> | |
body { | |
background: #FFF; | |
margin: 40px; | |
} |
When writing protractor tests you will be dealing with two libraries:
The Jasmine syntax is the same used on unit tests: beforeEach()
, describe()
, it()
, and so on