Skip to content

Instantly share code, notes, and snippets.

View bigardone's full-sized avatar
🏠
Working from home

Ricardo García Vega bigardone

🏠
Working from home
View GitHub Profile
@bigardone
bigardone / 0_README.md
Created June 7, 2019 05:33 — forked from roine/0_README.md
Bare minimum for Elm 0.19

From 0.19 Elm introduced 4 ways to boot an app:

  1. sandbox (no outside interaction)
  2. element (simple outside interaction - side effect, flags, subscriptions)
  3. document (same as above but with title tag control)
  4. application (whole SPA features)
/*!
* jQuery Tiny Pub/Sub - v0.6 - 1/10/2011
* http://benalman.com/ see https://gist.github.com/661855
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*
* (removed pre 1.4.3 support, added $.pubsubdebug())
*/