Skip to content

Instantly share code, notes, and snippets.

👨‍🚀
Ground control to Major Tom

Rubens Pinheiro rubenspgcavalcante

👨‍🚀
Ground control to Major Tom
Block or report user

Report or block rubenspgcavalcante

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View preload.js
import(
/* webpackChunkName: "myAwesomeLazyModule" */
/* webpackPreload: true */
"./lazy-one"
);
View import-async.js
import $script from "scriptjs";
export default function importAsync(url) {
return new Promise((resolve, reject) => {
$script(url, resolve); //just a simple, version. You should tread the reject case
});
});
View carta_a_presidente_dilma_rousseff.mkd

Olá, presidenta Rousseff... eu lhe avisei

Carta impressa: escrita por Maddog

Jon "maddog" Hall

Querida Presidenta Rousseff,

Eu entendo que a senhora esteja irritada com meu país, os Estados Unidos da América, porque uma de

View CardView.js
/**
* The card view
* @extends {maria.ElementView}
*/
SL.MVC.CardView = {};
SL.MVC.CardTemplate = SL.Utils.Template.load("card");
maria.ElementView.subclass(SL.MVC, "CardView", {
uiActions: {
'dragStop .card': 'onDragStop'
View CardController.js
/**
* The card controller
* @extends {maria.Controller}
*/
SL.MVC.CardController = {};
maria.Controller.subclass(SL.MVC, "CardController", {
properties: {
onDrag: function(){
/*
You can’t perform that action at this time.