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
/* | |
* grunt | |
* http://gruntjs.com/ | |
* | |
* Copyright (c) 2012 "Cowboy" Ben Alman | |
* Licensed under the MIT license. | |
* http://benalman.com/about/license/ | |
*/ | |
(function(exports) { |
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
/** | |
* The invocator function creates a new instance of the provided constructor | |
* which is also linked to a method that it contains. | |
* | |
* Check this fiddle for a live example: http://jsfiddle.net/thanpolas/Aky9Y/7/ | |
* | |
* Invocator only works for pseudo-classical type of classes (prototypical). | |
* | |
* Requires 'bind' and 'isFunction', currently use underscore's equivalents. | |
* |
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
myApp.Event = function(){}; | |
goog.inherits(myApp.Event, goog.events.Event); | |
// --- in another file --- // | |
myApp.ClassOne = function(){ | |
goog.base(this); |
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
/** | |
* the mark | |
*/ | |
body { | |
text-align: center; | |
margin-top: 20px; | |
} | |
.thanpolas { | |
font-size: 202px; | |
-webkit-border-radius: 12px; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.envelope { | |
font-size: 650%; | |
font-family: Courier; | |
} |
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
.codeblock { | |
width: 600px; | |
height: 200px; | |
background-color: yellow; | |
display: block; | |
} | |
.lineno { | |
background-color: #ddd; | |
width: 60px; | |
} |
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
.container { | |
width: 100%; | |
} | |
.col1 { | |
width: 200px; | |
float: left; | |
margin-left: 20px; | |
background-color: #ddd; | |
} |
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
.container { | |
width: 100%; | |
} | |
.col1 { | |
width: 200px; | |
float: left; | |
margin-left: 20px; | |
background-color: #ddd; | |
} |
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
.container > p:last-child { | |
background-color: yellow; | |
} |
OlderNewer