This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
var FadeTransitionRegion = Backbone.Marionette.Region.extend({ | |
show: function(view){ | |
this.ensureEl(); | |
view.render(); | |
this.close(function() { | |
if (this.currentView && this.currentView !== view) { return; } | |
this.currentView = view; |
{ | |
"translatorID": "7cb70025-a888-4a29-a210-93ec52da40d5", | |
"translatorType": 3, | |
"label": "BibTeX key for Markdown", | |
"creator": "created by liob based on the works of Peter O'Brien, Simon Kornblith and Richard Karnesky", | |
"target": "bib", | |
"minVersion": "2.1.9", | |
"maxVersion": null, | |
"priority": 200, | |
"inRepository": true, |
var $$ = function(sel) { | |
return document.querySelector(sel); | |
} | |
var $$$ = function(sel) { | |
return document.querySelectorAll(sel); | |
} | |
// $$ is equivalent to querySelector | |
// $$$ is equivalent to querySelectorAll |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import Text.Pandoc.JSON | |
import Text.Parsec | |
import Control.Applicative | |
import Data.Monoid | |
main :: IO () | |
main = toJSONFilter index | |
index :: Maybe Format -> Inline -> [Inline] | |
index (Just (Format f)) c@(Code _ s) = |
/* | |
* Enhances 'require' from RequireJS with Promises API while preserving its original semantics. | |
*/ | |
(function() { | |
if (!Promise || !require) { | |
return; | |
} |
{-# LANGUAGE PatternGuards #-} | |
{- This filter allows for numerical section references. It should be | |
used with "--number-sections", since it uses a similar numbering | |
scheme. It works by using the link notation: given a header with a | |
given id, we can refer to that number by using a link with `#` in it: | |
My Header {#my-header-id} | |
========= |