This file contains hidden or 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
| lg.bookmarks = yellow underline | |
| lg.branch = yellow | |
| lg.draft = green | |
| lg.here = red | |
| lg.obsolete = none | |
| lg.public = blue | |
| lg.tags = yellow | |
| lg.date = green | |
| lg.user = magenta |
This file contains hidden or 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
| lg = '{label("lg.branch", if(branches,"{branches} "))}{label(ifeq(graphnode,"x","lg.obsolete","lg.{phase}"),"{rev}:{node|short}")}{label("lg.tags", if(tags," {tags}"))}{label("lg.tags", if(fxheads," {fxheads}"))}{if(bookmarks," ")}{label("lg.bookmarks", if(bookmarks,bookmarks))}{label(ifcontains(rev, revset("parents()"), "lg.here"), " {desc|firstline}")}{label("lg.date", " {date|age}")}{label("lg.user", " {author|user}")} ' |
This file contains hidden or 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
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <!-- Copyright the Rubicon Project 2010 --> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> |
This file contains hidden or 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 emitMsg(type, msg) { | |
| console.log('type: ', type, '; msg: ', msg, '; msg.value: ', msg.value); | |
| //self.port.emit(type, msg); | |
| } |
This file contains hidden or 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
| async function checkExtensionInfo() { | |
| const manifestPath = browser.extension.getURL("manifest.json"); | |
| const response = await fetch(manifestPath); | |
| const extensionInfo = await response.json(); | |
| if (MAJOR_VERSIONS.indexOf(extensionInfo.version) > -1) { | |
| browser.browserAction.setBadgeBackgroundColor({color: "rgba(0,217,0,255)"}); | |
| browser.browserAction.setBadgeText({text: "NEW"}); | |
| } | |
| } | |
| checkExtensionInfo() |
This file contains hidden or 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
| async function checkExtensionInfo() { | |
| const manifestPath = browser.extension.getURL("manifest.json"); | |
| const response = await fetch(manifestPath); | |
| console.log('response.json(): ', response.json()); | |
| const extensionInfo = response.json(); | |
| if (MAJOR_VERSIONS.indexOf(extensionInfo.version) > -1) { | |
| browser.browserAction.setBadgeBackgroundColor({color: "rgba(0,217,0,255)"}); | |
| browser.browserAction.setBadgeText({text: "NEW"}); | |
| } | |
| } |
This file contains hidden or 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
| // WebExtension startup | |
| webExtension.startup().then(api => { | |
| api.browser.runtime.onMessage.addListener((message, sender, sendReply) => { | |
| if ("method" in message && methods.indexOf(message.method) !== -1) { | |
| sendReply(this[message.method](message)); | |
| } | |
| }); | |
| console.log("webExtension.startup.then(), reason: ", reason); |
This file contains hidden or 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
| webExtension.startup().then(api => { | |
| api.browser.runtime.onMessage.addListener((message, sender, sendReply) => { | |
| if ("method" in message && methods.indexOf(message.method) !== -1) { | |
| sendReply(this[message.method](message)); | |
| } | |
| }); | |
| console.log("webExtension.startup.then(), reason: ", reason); | |
| // Send "upgrade" message to WebExtension runtime | |
| if (reason === "upgrade") { |
This file contains hidden or 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
| browser.runtime.onInstalled.addListener((details) => { | |
| if (details.reason === "update") { | |
| browser.browserAction.setBadgeBackgroundColor("red"); | |
| } | |
| }); |
This file contains hidden or 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
| groovecoder:code lcrouch$ git clone git@github.com:mozilla/ff-tool.git | |
| Cloning into 'ff-tool'... | |
| remote: Counting objects: 824, done. | |
| remote: Total 824 (delta 0), reused 0 (delta 0), pack-reused 824 | |
| Receiving objects: 100% (824/824), 119.88 KiB | 0 bytes/s, done. | |
| Resolving deltas: 100% (550/550), done. | |
| Checking connectivity... done. | |
| groovecoder:code lcrouch$ git clone git@github.com:mozilla-services/services-test.git | |
| Cloning into 'services-test'... | |
| remote: Counting objects: 2137, done. |