Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) { | |
$httpProvider.responseInterceptors.push([ | |
'$q', '$templateCache', 'activeProfile', | |
function($q, $templateCache, activeProfile) { | |
// Keep track which HTML templates have already been modified. | |
var modifiedTemplates = {}; | |
// Tests if there are any keep/omit attributes. | |
var HAS_FLAGS_EXP = /data-(keep|omit)/; |
// strip-units required by spread mixin | |
// http://stackoverflow.com/questions/12328259/how-do-you-strip-the-unit-from-any-number-in-sass | |
@function strip-units($number) | |
@return $number / ($number * 0 + 1) | |
// pow and sqrt required by ease function | |
// adapted from https://github.com/at-import/Sassy-math/blob/master/sass/math.scss | |
@function pow($base, $exponent) | |
$value: $base |
-----BEGIN CERTIFICATE----- | |
MIIDLjCCAhYCCQDBY/svIVKS+DANBgkqhkiG9w0BAQsFADBZMQswCQYDVQQGEwJS | |
VTEPMA0GA1UECAwGTW9zY293MQ8wDQYDVQQHDAZNb3Njb3cxDzANBgNVBAoMBlBs | |
dXJjaDEXMBUGA1UEAwwOZGV2LnBsdXJjaC5jb20wHhcNMTQxMjAzMTIwOTA3WhcN | |
MTUxMjAzMTIwOTA3WjBZMQswCQYDVQQGEwJSVTEPMA0GA1UECAwGTW9zY293MQ8w | |
DQYDVQQHDAZNb3Njb3cxDzANBgNVBAoMBlBsdXJjaDEXMBUGA1UEAwwOZGV2LnBs | |
dXJjaC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDgR92T9ShI | |
55/DfyRAIq39EcV6lWCZBG3nrgTSicE0t7RsSsyl4rzYgIUMchnpW/zEXnLKXy2w | |
ns7nGBfbkULxGxAN+OJN4qqYPySUig56SWr33mKpiaC7KIJj6o4Jidg4LWpMo8ca | |
DKV50eGe1TYOFn39u+GGESnLqEAnnSZAY+orO9cVTvljP/KxzzmNTK7BErn2sezU |
And a ton of literature that doesn't directly mentioned in the presentation, but it still has a big influence on my speech:
'use strict'; | |
import Singleton from 'Singleton'; | |
class ClassA extends Singleton { | |
constructor() { | |
super(); | |
} | |
singletonMethod1() { | |
// ... |