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
| $('div').hide(); | |
| $('a').toggle(function(){ | |
| $(this).find('span').addClass("rotate"); | |
| $('div').fadeIn(300); | |
| },function(){ |
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,body{ | |
| font-family:sans-serif; | |
| } | |
| b{ | |
| font-weight:bold; | |
| } | |
| dt,dd{ | |
| display:inline; | |
| } |
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
| <a href="http://jsfiddle.net/ethankr/xyz/123"><h1 style='display:inline;'>iCal-like dates</h1><h3 style='display:inline;'> v3</h3></a> | |
| <p>use in maranatha's site and use sugar js with it</p> | |
| <dl> | |
| <dt><b>Framework</b></dt> | |
| <dd>jQuery</dd> | |
| <br> | |
| <dt><b>Normalize CSS?</b></dt> | |
| <dd>No</dd> | |
| <br> | |
| <dt><b>Slug</b></dt> |
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 SITE = SITE || {}; | |
| SITE.fileInputs = function() { | |
| var $this = $(this), | |
| $val = $this.val(), | |
| valArray = $val.split('\\'), | |
| newVal = valArray[valArray.length-1], | |
| $button = $this.siblings('.button'), | |
| $fakeFile = $this.siblings('.file-holder'); | |
| if(newVal !== '') { |
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
| <a href="http://jsfiddle.net/api/user/zalun/demo/list.json?sort=framework&limit=20&start=21">NSString <code>query</code> test</a> |
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
| <a href="http://jsfiddle.net/api/user/zalun/demo/list.json?sort=framework&limit=20&start=21">NSString <code>query</code> test</a> |
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
| <a href="http://jsfiddle.net/api/user/zalun/demo/list.json?sort=framework&limit=20&start=21">NSString <code>query</code> test</a> |
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
| window.context = window.describe | |
| describe ".googlePandaStatus", -> | |
| Given -> @ajaxCaptor = jasmine.captor() | |
| Given -> spyOn($, "get") | |
| When -> googlePandaStatus("Happy") | |
| And -> expect($.get).toHaveBeenCalledWith("http://google.com", @ajaxCaptor.capture()) | |
| describe "~ the AJAX success handler", -> | |
| Given -> spyOn(window, "printMessage") |
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
| # words must be seperated by an underscore | |
| # ex. "hello_there-pal" isnt valid but "hello_there_pal" is | |
| # humanize "hello_there" # => "Hello There" | |
| # humanize "hello there" # => "Hello There" | |
| # humanize "hello_there", {format: :class,without: :dashes, separator: :space} | |
| # options | |
| # format: | |
| # :class -> change a string like "hello string" to "HelloString" | |
| # :sentence -> change a string like "hello_String" to "Hello string" |
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
| ( ($) -> | |
| $.fn.pluginName (options) -> | |
| return @.each( -> | |
| ); | |
| )(jQuery); |