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
diff --git a/webcompat/static/js/lib/comments.js b/webcompat/static/js/lib/comments.js | |
index ba03c93..56eee1e 100644 | |
--- a/webcompat/static/js/lib/comments.js | |
+++ b/webcompat/static/js/lib/comments.js | |
@@ -7,14 +7,14 @@ var issues = issues || {}; | |
issues.CommentsCollection = Backbone.Collection.extend({ | |
model: issues.Comment, | |
url: function() { | |
- return '/api/issues/' + issueNumber + '/comments?page=' + this.param; | |
+ return '/api/issues/' + issueNumber + '/comments?page=' + this.pageNumber; |
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
/* | |
* Copyright (c) 2015 by Marfeel Solutions (http://www.marfeel.com) | |
* All Rights Reserved. | |
* | |
* NOTICE: All information contained herein is, and remains | |
* the property of Marfeel Solutions S.L and its suppliers, | |
* if any. The intellectual and technical concepts contained | |
* herein are proprietary to Marfeel Solutions S.L and its | |
* suppliers and are protected by trade secret or copyright law. | |
* Dissemination of this information or reproduction of this material |
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
this.set_box_blur = function(t) { | |
var i = t.getOffsetParent() | |
, r = i.select("div.graphic_image_warning")[0] | |
, a = t.select("video.graphic_image")[0] | |
, s = null | |
, o = t.select(".sub_buzz_content__mp4") | |
, n = "img.graphic_image" | |
, l = i.select(".click_to_blur")[0] | |
, u = Prototype.Browser.WebKit && !isSafari5() || isIE9() | |
, _ = Prototype.Browser.Gecko && !isIE11() |
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
history | awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n ",a[i],i}}' | sort -rn | head | |
4183 git | |
637 ls | |
486 cd | |
343 ./mach | |
341 j | |
288 python | |
279 pep8 | |
273 nosetests | |
182 cat |
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
#!/bin/bash | |
# Replace this value with your add-on name | |
XPI=screenshots.xpi | |
# Replace this value to push to different release channels. | |
# Nightly = org.mozilla.fennec | |
# Aurora = org.mozilla.fennec_aurora | |
# Beta = org.mozilla.firefox_beta | |
# Release = org.mozilla.firefox |
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
{ | |
"action": "opened", | |
"issue": { | |
"url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357", | |
"repository_url": "https://api.github.com/repos/webcompat/webcompat-tests", | |
"labels_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/labels{/name}", | |
"comments_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/comments", | |
"events_url": "https://api.github.com/repos/webcompat/webcompat-tests/issues/357/events", | |
"html_url": "https://github.com/webcompat/webcompat-tests/issues/357", | |
"id": 144769471, |
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
getScreenshot: (tab) => { | |
Task.spawn(function* () { | |
let win = tab.window; | |
let dpr = win.devicePixelRatio; | |
let canvas = win.document.createElement("canvas"); | |
let ctx = canvas.getContext("2d"); | |
// Grab the visible viewport coordinates | |
let x = win.document.documentElement.scrollLeft; | |
let y = win.document.documentElement.scrollTop; | |
let w = win.innerWidth; |
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
export PATH="/Applications/Firefox.app/Contents/MacOS:$PATH" | |
alias intern="node_modules/.bin/intern-runner reporters=console config=tests/intern user=USER pw=PASSWORD" | |
# Run functional tests for webcompat.com | |
# Requires that the firefox binary be in $PATH | |
testw () { | |
echo "Hold on to your butts." | |
wd="/Users/miket/dev/compat/webcompat.com" |
This file has been truncated, but you can view the full file.
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
./be/akhbaralahly.com.html: return !!e.applicationCache | |
./be/eldiario.es.html: return !!a.applicationCache | |
./be/epochtimes.com.html: return !!a.applicationCache | |
./be/ezcardinfo.com.html: return !!n.applicationCache | |
./80/brasil247.com.html: return !!window.applicationCache; | |
./80/elimparcial.com.html: return !!a.applicationCache | |
./80/mmo-champion.com.html: return !!i.applicationCache | |
./80/leeds.ac.uk.html: return !!e.applicationCache | |
./80/stylowi.pl.html: return !!window.applicationCache; | |
./80/openstudy.com.html: return !!ay.applicationCache |
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
mouseover | |
mouseenter (1ms) | |
mousemove (0ms) | |
mousemove (5ms) | |
mousemove (10ms) | |
mousemove (1ms) | |
mousemove (17ms) | |
mousemove (0ms) | |
mousemove (16ms) | |
mousemove (1ms) |