Skip to content

Instantly share code, notes, and snippets.

@Ianfeather
Ianfeather / gist:5955858
Last active December 19, 2015 12:38
Is there a way to make the jasmine src property honour the requirejs baseUrl?
// When I specify our baseUrl as '/public/assets/javascripts'
//
// Grunt will fail to import any files from here ('public/assets/javascripts/lib/**/*.js') into the require call, presumably becaus it is searching in ./lib/**/ which doesn't exist.
// Obviously the specs won't run because there are no src files to test against
jasmine: {
avocado: {
src: ['lib/**/*.js'],
options: {
@Ianfeather
Ianfeather / dabblet.css
Created May 10, 2012 09:13 — forked from anonymous/dabblet.css
Untitled
div{
display:inline-block;
padding:5px;
margin:10px;
border:1px solid #ccc;
transition: 0s background-color;
}
div:hover{
background-color:red;
transition-delay:1s;