Skip to content

Instantly share code, notes, and snippets.

View ThomasFlorelli's full-sized avatar

Thomas Florelli ThomasFlorelli

View GitHub Profile
{
"id": "electronic-device-journey",
"content": [
{
"id": "progress",
"type": "stepper_template",
"props": {
"form_title": "Formulaire d'adhésion",
"logo": "Electronic device Logo",
"steps": [

Keybase proof

I hereby claim:

  • I am thomasflorelli on github.
  • I am thomasflorelli (https://keybase.io/thomasflorelli) on keybase.
  • I have a public key ASDKn4yjAObGGofAOF1mUH5DUi4Ggdj4ZHa_S8mK6nKFDgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am thomasflorelli on github.
  • I am tflorelli (https://keybase.io/tflorelli) on keybase.
  • I have a public key ASCUePskFrXdwsDU6ZVxc6Wybd2Knsd7W9qbJysbUONU_go

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ThomasFlorelli
ThomasFlorelli / module.js
Last active August 10, 2017 15:39
LBA module template
define(['Observer'], function (Observer) {
var module = function () {
var that = {};
var observable = new Observer();
var events = {
ON_EVENT: 'event-name',
};
var classes = {
DO_SOMETHING: 'js-do-something',
DO_SOMETHING_ELSE: 'js-do-something-else'
@ThomasFlorelli
ThomasFlorelli / index.html
Created December 9, 2016 14:45
Dont start by the end #jsbench #jsperf (http://jsbench.github.io/#1327ac9784eebd16dde0729732e1f871) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Dont start by the end #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@ThomasFlorelli
ThomasFlorelli / promises-swallow.js
Last active May 13, 2016 14:19
Dangerous exception swallowing by promises
'use strict';
try {
new Promise((resolve) => {
resolve('test');
}).then(function () {
throw new Error('test');
});
} catch (e) {
console.log('Will not show');