This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?:\w{3,}|[\$\@()+.])+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout old_branch # Move to the branch you want to rename | |
git pull # So you will not lose any commit if they are not yet in your local branch | |
git branch -m new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button(?![^>]*\btype=)[^>]*?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import PopperJS from 'popper.js'; | |
export default class Popper extends Component { | |
state = {} | |
update = () => { | |
if (this.popperInstance) { | |
this.popperInstance.scheduleUpdate(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://🐀.ws/🍴🌵 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Save humans, destroy zombies! | |
**/ | |
const ZOMBIE_RANGE = 400; | |
const ME_RANGE = 2000; | |
const ZOMBIE_SPEED = 400; | |
const ME_SPEED = 1000; | |
function toString(a) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function generatePopperOnLoad(reference, popper) { | |
// if the popper variable is a configuration object, parse it to generate an HTMLElement | |
// generate a default popper if is not defined | |
var isNotDefined = typeof popper === 'undefined' || popper === null; | |
var isConfig = popper && Object.prototype.toString.call(popper) === '[object Object]'; | |
if (isNotDefined || isConfig) { | |
popper = parse(isConfig ? popper : {}); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(c,d){'object'==typeof exports&&'undefined'!=typeof module?module.exports=d():'function'==typeof define&&define.amd?define(d):c.Popper=d()})(this,function(){'use strict';function c(la){const ma=la.offsetParent,na=ma&&ma.nodeName;return na&&'BODY'!==na&&'HTML'!==na?ma:window.document.documentElement}function d(la,ma){if(1!==la.nodeType)return[];const na=window.getComputedStyle(la,null);return ma?na[ma]:na}function e(la){return'HTML'===la.nodeName?la:la.parentNode||la.host}function f(la){if(!la||-1!==['HTML','BODY','#document'].indexOf(la.nodeName))return window.document.body;const{overflow:ma,overflowX:na,overflowY:oa}=d(la);return /(auto|scroll)/.test(ma+oa+na)?la:f(e(la))}function g(){const la=window.document.body,ma=window.document.documentElement;return{height:Math.max(la.scrollHeight,la.offsetHeight,ma.clientHeight,ma.scrollHeight,ma.offsetHeight),width:Math.max(la.scrollWidth,la.offsetWidth,ma.clientWidth,ma.scrollWidth,ma.offsetWidth)}}function h(la){let ma;if('HTML'===la.nodeName){const{width: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**! | |
* @fileOverview Kickass library to create and place poppers near their reference elements. | |
* @version 1.0.6 | |
* @license | |
* Copyright (c) 2016 Federico Zivolo and contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
OlderNewer