More details here: https://developer.mozilla.org/en/docs/Simple_Firefox_build
Get Firefox' source code:
git clone https://github.com/mozilla/gecko-dev.git
git checkout fx-team
Install dependencies:
| git branch -m old_branch 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 |
More details here: https://developer.mozilla.org/en/docs/Simple_Firefox_build
Get Firefox' source code:
git clone https://github.com/mozilla/gecko-dev.git
git checkout fx-team
Install dependencies:
| /*! Prefix flex for IE10 and Safari / iOS in LESS | |
| * https://gist.github.com/codler/2148ba4ff096a19f08ea | |
| * Copyright (c) 2014 Han Lin Yap http://yap.nu; MIT license */ | |
| .display(@value) when (@value = flex) { | |
| display: -ms-flexbox; // IE10 | |
| display: -webkit-flex; // Safari / iOS | |
| } | |
| .display(@value) when (@value = inline-flex) { |
| function countCSSRules() { | |
| var results = '', | |
| log = ''; | |
| if (!document.styleSheets) { | |
| return; | |
| } | |
| for (var i = 0; i < document.styleSheets.length; i++) { | |
| countSheet(document.styleSheets[i]); | |
| } | |
| function countSheet(sheet) { |
Every single JavaScript engine supports standard timers *
These accept one or more extra argument by specs
for(var i = 0; i < 2; i++) {
setTimeout(function (i) {
console.log(i);
}, 0, i); // <== see this?
}| <%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %> | |
| <dnn:DnnCssExclude runat="server" Name="dnndefault" /> |
| type moment$MomentOptions = { // eslint-disable-line no-unused-vars | |
| y?: number|string, | |
| year?: number|string, | |
| years?: number|string, | |
| M?: number|string, | |
| month?: number|string, | |
| months?: number|string, | |
| d?: number|string, | |
| day?: number|string, | |
| days?: number|string, |
| using System; | |
| using System.Data; | |
| using System.Data.Sql; | |
| using System.Data.SqlClient; | |
| using System.Configuration; | |
| using DotNetNuke.Services.Mail; | |
| using DotNetNuke.Entities.Portals; | |
| using DotNetNuke.Common.Utilities; | |
| using DotNetNuke.Entities.Portals; |
// https://hackernoon.com/redux-flow-type-getting-the-maximum-benefit-from-the-fewest-key-strokes-5c006c54ec87
// https://github.com/facebook/flow/issues/4002
// eslint-disable-next-line no-unused-vars
type _ExtractReturn<B, F: (...args: any[]) => B> = B;
export type ExtractReturn = _ExtractReturn<*, F>;