commit stringlengths 40 40 | subject stringlengths 1 3.25k | old_file stringlengths 4 311 | new_file stringlengths 4 311 | old_contents stringlengths 0 26.3k | lang stringclasses 3
values | proba float64 0 1 | diff stringlengths 0 7.82k |
|---|---|---|---|---|---|---|---|
5be70315becc63b9ff519c202196924864e5a435 | change the height of the window | main.js | main.js | "use strict";
const electron = require("electron");
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow;
function createWindow() {
mainWindow = new BrowserWindow({
frame: false,
height: 800,
icon: "src/client/img/favicon.ico",
width: 1450,
... | JavaScript | 0 | @@ -238,17 +238,17 @@
eight: 8
-0
+5
0,%0A
|
fc938f942520c605ebdb4812395f7c42e2bfe567 | Add use strict | main.js | main.js | (function(){
var getcode = document.getElementsByClassName('get-code')[0];
var preview = function() {
var gh_username = document.getElementsByClassName("form-gh-username")[0].value;
if (gh_username === "") {
return;
}
var preview = document.getElementById("preview-display");
var aTag = do... | JavaScript | 0.000009 | @@ -5,16 +5,30 @@
ction()%7B
+%0A'use strict';
%0A%0Avar ge
|
5c2ac097fe6ef9e6539042824ee703e30163b208 | Remove `on`, `pipe` and `pipeline` from reserved names. | lib/superpipe.js | lib/superpipe.js | 'use strict'
/**
* Module dependencies
*/
var bind = require('lodash.bind')
var keys = require('lodash.keys')
var filter = require('lodash.filter')
var isArray = require('lodash.isarray')
var indexOf = require('lodash.indexof')
var forEach = require('lodash.foreach')
var Injector = require('insider')
var Pipeline = ... | JavaScript | 0 | @@ -913,14 +913,8 @@
= %5B
-'on',
'aut
@@ -981,28 +981,8 @@
ext'
-, 'pipe', 'pipeline'
%0A %5D
@@ -1706,16 +1706,17 @@
ter%5D A
+n
instanc
|
30c0d40a5ef500ad7e34972ad4205b8805517efa | fix bug i introduced | routes/matches.js | routes/matches.js |
var match_request = require("./match_requests.json");
var courses = require("./courses.json");
var assignments = require("./assignments.json");
var matches = require("../matches.json");
function getUserFromId(id) {
var user_list = users['users'];
for (var i = 0; i < user_list.length; i ++ ) {
if (user_list[i].id... | JavaScript | 0 | @@ -138,16 +138,59 @@
json%22);%0A
+var user_data = require(%22../user_data.js%22);
%0Avar mat
@@ -1377,24 +1377,94 @@
%09return;%0A %7D
+%0A var curr_user = user_data.get_user_by_id(req.session.curr_user_id);
%0A%0A var all_
|
7592899048a4a1aee58b465fd6dfeec5f73bc379 | generating toc string | main.js | main.js | var path = require('path'),
fs = require('fs'),
async = require('async'),
_ = require('underscore'),
file = require('./lib/file');
// TODO: from commandline
var dir = 'samples';
function isAbsolute(path) {
if ('/' == path[0]) return true;
if (':' == path[1] && '\\' == path[2]) re... | JavaScript | 0.999938 | @@ -969,20 +969,19 @@
header.
-titl
+nam
e.trim()
@@ -1153,16 +1153,23 @@
ction (x
+, index
) %7B%0A
@@ -1329,20 +1329,19 @@
-titl
+nam
e : mat
@@ -1345,16 +1345,52 @@
match%5B2%5D
+,%0A line : index
%0A
@@ -1710,15 +1710,8 @@
rank
- = null
;%0A
@@ -1821,16 +1821,1... |
8aceedd6445dc3dec44eb89f2f9ef385e322c81e | Rename 'uri' field to url | routes/twitter.js | routes/twitter.js | import route from './async-route';
import Twit from 'twit';
import twitterConfig from '../config/twitter';
import { Router } from 'express';
const router = Router();
const authMiddleware = (req, res, next) => {
if (!req.user) {
res.status(403).send('unauthorized');
return;
}
req.twit = new Twit({
c... | JavaScript | 0.999993 | @@ -843,17 +843,17 @@
ur
-i
+l
: %60https
|
02a6d1a86f961ac83ae860a02e0358ad985191a2 | Update simulated Node.js compatibility version to 6.0.0 (V8 5.0.71.33 in Chrome 50.0.2661.86, V8 5.0.71.35 in Node 6.0.0) | app/userland/process2.js | app/userland/process2.js | 'use strict';
// Extend the process global with some more functionality
// This augments what is already provided by https://github.com/defunctzombie/node-process/blob/master/browser.js
const syscall = require('./syscall').syscall;
// https://nodejs.org/api/process.html
process.exit = (code) => {
process.stderr.wr... | JavaScript | 0 | @@ -410,13 +410,13 @@
e: '
-4.2.4
+6.0.0
', /
|
e7ee923e271a145d6cd0bd1621b3b1d207f86f0b | move `GamepadButton` polyfill | main.js | main.js | (function () {
var raf = window.requestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame;
if (!raf) {
throw 'requestAnimationFrame is required!';
}
var caf = window.cancelRequestAnimationFrame ||
window.mozCancelRequestAnimationFrame ||
window.webkitCancelRequestAnima... | JavaScript | 0 | @@ -325,16 +325,195 @@
Frame;%0A%0A
+%0Aif (!('GamepadButton' in window)) %7B%0A var GamepadButton = window.GamepadButton = function (obj) %7B%0A return %7B%0A pressed: obj.pressed,%0A value: obj.value%0A %7D;%0A %7D;%0A%7D%0A%0A%0A
function
@@ -3386,158 +3386,8 @@
ts.%0A
- var GamepadButton = w... |
6a0dbb195e2de26d501cfb2d1d9350406f1f329e | fix save scene not update the title | main.js | main.js | var Fs = require('fire-fs');
var Path = require('fire-path');
function _updateTitile () {
var url = Editor.assetdb.uuidToUrl(Editor.currentSceneUuid);
if ( !url ) {
url = 'Untitled';
}
Editor.mainWindow.nativeWin.setTitle( 'Fireball Editor - ' + url );
}
module.exports = {
load: function (... | JavaScript | 0.000001 | @@ -685,17 +685,468 @@
rl, json
-
+, function ( err, meta ) %7B%0A if ( err ) %7B%0A Editor.assetdb.error('Failed to save scene %25s', url, err.stack);%0A return;%0A %7D%0A%0A Editor.currentSceneUuid = meta.uuid;%0A _upd... |
a96ef0b95b2d95c57764a9dad2f0039f4081779e | allow empty string | app_main/lib/response.js | app_main/lib/response.js | /*
* Add `res.sugar()`
*/
var http = require('http')
http.ServerResponse.prototype.ContentTypes = {
AppJSON: { 'Content-Type': 'application/json; charset=utf-8' },
AppJS: { 'Content-Type': 'application/javascript; charset=utf-8' },
TextCSS: { 'Content-Type': 'text/css; charset=utf-8' },
... | JavaScript | 0 | @@ -1501,16 +1501,30 @@
if(!txt
+ && txt !== ''
) txt =
|
5cb2a0a98bf32b75d19455f552c24d796cc05e1a | fix tests | test/tests/TextareaAutosize-test.js | test/tests/TextareaAutosize-test.js | import React from 'react';
import TestUtils from 'react-dom/test-utils';
import expect from 'expect';
import TextareaAutosize from '../../index';
const renderTextarea = () => {
const component = <TextareaAutosize className='textarea-autosize' />;
const textarea = TestUtils.renderIntoDocument(component);
return ... | JavaScript | 0.000001 | @@ -135,13 +135,11 @@
/../
-index
+lib
';%0A%0A
|
a347575a69ea18df1f90df39f5bc1c393d99c39a | fix syntax | s3.client.js | s3.client.js | /**
* @public
* @constructor
* @param {String} name - The store name
* @param {Object} options
* @param {Function} [options.beforeSave] - Function to run before saving a file from the client. The context of the function will be the `FS.File` instance we're saving. The function may alter its properties.
* @param {... | JavaScript | 0.000023 | @@ -781,17 +781,18 @@
.fileKey
-:
+ =
functio
|
e53b394e4b77a8c27274e06c021e8fee5a37ea55 | add @qguv | config/userlist.js | config/userlist.js | module.exports = {
users: [ // ADD YOUR USERNAME AT THE TOP
'williamle8300',
'jeffawang',
'sorpaas',
'dylnclrk',
'dcancel',
'theprofessor117',
'roryokane',
'shedd',
'LeandroLovisolo',
'euank',
'humd',
'bwlang',
'... | JavaScript | 0 | @@ -57,16 +57,33 @@
THE TOP%0A
+ 'qguv', %0A
@@ -398,18 +398,24 @@
manth',%0A
-%09%09
+
'treygri
@@ -422,18 +422,24 @@
ffith',%0A
-%09%09
+
'megamat
@@ -446,18 +446,24 @@
tron', %0A
-%09%09
+
'pents90
@@ -465,18 +465,24 @@
nts90',%0A
-%09%09
+
'michael
@@ -491,1... |
75de7ea0b420a5c1eb448e3f926790ed8b775115 | disable hacky~art portal | main.js | main.js | const combine = require('depject')
const entry = require('depject/entry')
const nest = require('depnest')
const bulk = require('bulk-require')
const values = require('lodash/values')
// polyfills
require('setimmediate')
const patchcore = require('patchcore')
delete patchcore.patchcore.message.html.action.reply
// pru... | JavaScript | 0 | @@ -1228,16 +1228,19 @@
oll'),%0A
+ //
hackyAr
@@ -1272,16 +1272,67 @@
y-art'),
+ // TODO rework this to be in alignment with values
%0A inbox
|
fe072da3f42d859cf208d72cb402db0d1fd669a1 | disable toolbar | main.js | main.js | /* Copyright (c) 2013-2016 The TagSpaces Authors.
* Use of this source code is governed by the MIT license which can be found in the LICENSE.txt file. */
/* globals Nanobar, marked, EXIF, Mousetrap, Viewer */
"use strict";
$(document).ready(function() {
function getParameterByName(name) {
name = name.replace(... | JavaScript | 0.000003 | @@ -915,24 +915,44 @@
bar: false,%0A
+ toolbar: false,%0A
//fullsc
|
2c3efb9a1a5f3f41223ce8b5a3c4282cda0ef3a3 | fix typo | main.js | main.js | (function() {
var decks = ['meetup'];
var cards = [];
var queue = [];
var s;
var visible;
var said = [];
var skip = [];
var forget = [];
function escape_(s) {
if (typeof s === 'string') {
return s.replace(/&/g, '&')
.replace(/>/g, '>'... | JavaScript | 0.999991 | @@ -1994,17 +1994,17 @@
first de
-s
+c
k.%0A
|
06105af90bee026dd4943fbd8df5545bf86afcf3 | remove opening dev tool | main.js | main.js | const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
function createWindow () {
// Create the browser... | JavaScript | 0.000001 | @@ -546,66 +546,8 @@
))%0A%0A
- // Open the DevTools.%0A win.webContents.openDevTools()%0A%0A
//
|
768db3ab74454f7708bb44d5a28d343860c1aefa | fix typo | main.js | main.js | "use strict";
// JP pref list
// TODO: more plain format (using DB?)
const PREF_HOKKAIDO = ["北海道"];
const PREF_TOHOKU = ["青森県", "岩手県", "秋田県", "宮城県", "山形県", "福島県"];
const PREF_KANTO = ["茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", "東京都", "神奈川県"];
const PREF_CHUBU = ["山梨県", "長野県", "新潟県", "富山県", "石川県", "福井県", "静岡県", "愛知県", ... | JavaScript | 0.999991 | @@ -965,16 +965,17 @@
-danger'
+;
%0A%0A// con
@@ -1699,16 +1699,17 @@
tion() %7B
+
loopRoul
@@ -1726,16 +1726,18 @@
valTime)
+;
%7D, inter
@@ -1741,32 +1741,33 @@
tervalTime);%0A%7D%0A%0A
+%0A
function moveRou
|
a4dbd2f678ff2d8bd5256377dc3f0dd65c3f3af2 | Update replay-controller tests to chai | test/unit/replay-controller.test.js | test/unit/replay-controller.test.js | var expect = require('expect.js'),
ReplayController = require('../../lib/runner/replay-controller');
describe('ReplayController', function () {
describe('constructor', function () {
it('must construct state if replayState is empty', function () {
var replayController = new ReplayController(... | JavaScript | 0 | @@ -19,19 +19,21 @@
re('
+chai').
expect
-.js')
,%0A
@@ -190,36 +190,38 @@
) %7B%0A it('
-must
+should
construct state
@@ -367,18 +367,21 @@
unt).to.
-b
e
+qual
(0);%0A
@@ -402,20 +402,22 @@
it('
-must
+should
constru
@@ -609,79 +609,92 @@
ller
-.count).to.be(1);%0A expect(replay... |
c54290e57495a418499d5f9a7d694389a430ad0f | Add debug logging when an error is emitted to debug issues more easily | main.js | main.js | var EventEmitter = require('events');
var util = require('util');
var serialPort = require('serialport');
var serialPortUsed = false;
var availablePorts = [];
var constructor;
var timer;
var parsePacket = require('./lib/parsePacket');
var debug = require('./lib/debug');
var config = require('./config/config.json');
... | JavaScript | 0 | @@ -3505,24 +3505,71 @@
n (error) %7B%0A
+ debug.log('Error emitted: ' + error);%0A%0A
cons
|
72c36d8e7210cad53a4d41a3aee771f6e56fd81a | Add PPLS to locality | lib/streams/layerMappingStream.js | lib/streams/layerMappingStream.js | var through2 = require('through2');
function featureCodeToLayer(featureCode) {
switch (featureCode) {
case 'PCLI':
return 'country';
case 'ADM1':
return 'region';
case 'ADM2':
return 'county';
case 'ADMD':
return 'localadmin';
case 'PPL':
ca... | JavaScript | 0.000008 | @@ -456,24 +456,43 @@
ase 'PPLL':%0A
+ case 'PPLS':%0A
case '
|
6a6bf5f693f54b54e7ace82e0e6921d3c63960d7 | use time/lock settings | main.js | main.js | 'use strict';
const electron = require('electron');
const app = electron.app; // Module to control application life.
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.
const Menu = electron.Menu;
const Tray = electron.Tray;
// Report crashes to our server.
electron.crashReporte... | JavaScript | 0.000001 | @@ -2213,16 +2213,18 @@
it%0A
+//
openPref
@@ -2234,16 +2234,16 @@
ndow();%0A
-
%0A //
@@ -2769,24 +2769,66 @@
rentData();%0A
+ console.log(%22SAVER OPTS%22, saver);%0A
var
@@ -2856,19 +2856,16 @@
l_opts);
-
%0A
@@ -3252,231 +3252,8 @@
) %7B%0A
- // Dereference the... |
e3868508fd599179fcf359072a95e0a0f616c7b0 | Fix fancybox options | app/assets/javascripts/lentil/addfancybox.js | app/assets/javascripts/lentil/addfancybox.js | var FancyBoxCloseFunctionState = {
// object literal for tracking important
// state information so we know
// how to change the url in response
// to user actions such as
// dismissing fancybox from clicking or using back button
popcalled: false,
fancyboxvisible: false,
pathname: windo... | JavaScript | 0.000003 | @@ -2842,24 +2842,49 @@
op : false,%0A
+ autoSize : true,%0A
minW
@@ -2894,15 +2894,11 @@
h :
-'
250
-px'
,%0A
|
6388b2c07f5470dcd713521c563e36a0c3c3d3e3 | Revert "10 upgraders" | ai/main.js | ai/main.js | var roleHarvester = require('role.harvester');
var roleUpgrader = require('role.upgrader');
var roleBuilder = require('role.builder');
module.exports.loop = function () {
// Always place this memory cleaning code at the very top of your main loop!
for (var dead in Memory.creeps) {
if (!Game.creeps[de... | JavaScript | 0 | @@ -931,10 +931,9 @@
h %3C
-10
+6
) %7B%0A
|
cdcf1fb8216bf547e56fd4292487646f70acc154 | REFACTOR @1h - add hidden_columns option to :add action | app/assets/javascripts/master/actions/add.js | app/assets/javascripts/master/actions/add.js | // Toolbar Item 'Add'
WulinMaster.actions.Add = $.extend({}, WulinMaster.actions.BaseAction, {
name: 'add',
handler: function(e) {
var grid = this.getGrid();
Ui.openDialog(grid, grid.options);
// register 'Create' button click event, need to remove to dialog action later
$('body').off("click", '#... | JavaScript | 0 | @@ -126,24 +126,45 @@
nction(e) %7B%0A
+ var self = this;%0A
var grid
@@ -182,16 +182,62 @@
Grid();%0A
+ var hiddenColumns = this.hidden_columns;%0A%0A
Ui.o
@@ -453,32 +453,101 @@
', function() %7B%0A
+ if(hiddenColumns) self.fillHiddenColumns(grid, hiddenColumns);%0A
Requests.c
@@ -834,6... |
ca6529dcdb523f0a5a73935dab53767cf4e49850 | Update app/assets/javascripts/templateFolderForm.js | app/assets/javascripts/templateFolderForm.js | app/assets/javascripts/templateFolderForm.js | (function(Modules) {
"use strict";
Modules.TemplateFolderForm = function() {
this.start = function(templateFolderForm) {
this.$form = $(templateFolderForm);
// remove the hidden unknown button - if you've got JS enabled then the action you want to do is implied by
// which field is visible.... | JavaScript | 0 | @@ -5385,37 +5385,8 @@
if (
-$.inArray(this.currentState,
%5B'mo
@@ -5428,16 +5428,42 @@
mplate'%5D
+.indexOf(this.currentState
) !== -1
|
f1dd8249f8d6fdde67f27512cb000ac183dbd9d5 | Update version string to 2.5.2-pre.3 | source/boot/version.js | source/boot/version.js | /**
* Each Enyo-provided library will annotate this structure with its own
* version info. Why? In general, Enyo and its libraries are versioned
* and released together, but libraries may be versioned separately in
* the future. Also, since libraries are checked out and updated
* individually, a project may be using "m... | JavaScript | 0.000001 | @@ -904,14 +904,14 @@
5.2-pre.
-2
+3
'%0A%7D;%0A
|
a63b028503a03b774403fca9562ae0a837f990fd | Fix error text parsing when "errors" is of type "string". | app/assets/javascripts/views/baseItemView.js | app/assets/javascripts/views/baseItemView.js | Teikei.module("Base", function(Base, App, Backbone, Marionette, $, _) {
Base.ItemView = Marionette.ItemView.extend({
showError: function(xhr, defaultMessage) {
if (this.alert) {
this.alert.fadeIn();
}
else {
if (xhr === null) {
this.showAlertMessage(defaultMessage);
... | JavaScript | 0.000023 | @@ -1333,16 +1333,140 @@
errors;%0A
+ if (Teikei.Util.isString(errors)) %7B%0A return errors;%0A %7D%0A if (Teikei.Util.isArray(errors)) %7B%0A
@@ -1489,24 +1489,26 @@
%22%22;%0A
+
+
_.each(error
@@ -1543,16 +1543,18 @@
+
errorTex
@@ -1580,16 +1580,18 ... |
180a6db67b1e6d22c010c81ea1d816230e65ae1f | Move everything in the if block, sorry | main.js | main.js | 'use strict';
if (!("Notification" in window)) {
console.log("Your browser does not seem to support desktop notifications");
} else if (Notification.permission === 'default') {
Notification.requestPermission();
}
function SE_questions_check() {
var copyright = $('#copyright'), link = $('a', 'li.youarehere... | JavaScript | 0.000009 | @@ -12,215 +12,8 @@
';%0A%0A
-if (!(%22Notification%22 in window)) %7B%0A console.log(%22Your browser does not seem to support desktop notifications%22);%0A%7D else if (Notification.permission === 'default') %7B%0A Notification.requestPermission();%0A%7D%0A
%0Afun
@@ -325,24 +325,252 @@
_check()) %7B%0A
+ i... |
85af29308e228c2e13f8c30a6f51079e3514ba42 | update based on new data | main.js | main.js | var map = L.map('map', {minZoom: 0, zoom: 4, center: L.latLng(36, -95)});
/* OSM basemap
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data: © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(map);
*/
//ESRI
L.tileLayer('http://se... | JavaScript | 0.000003 | @@ -1597,17 +1597,16 @@
%22Article
-s
_de_qual
|
655c752ec1dd6cf4fdd7b6699115c76d019fe9b6 | Fix pushbullettrigger | lib/triggers/pushbulletTrigger.js | lib/triggers/pushbulletTrigger.js | var util = require("util");
var PushBullet = require("pushbullet");
var BaseTrigger = require("./baseTrigger.js").BaseTrigger;
var _=require("underscore");
/*
A Pushbullet trigger. Notify anyone who wants of anything they want. Basically, if a keyword is in a message, it gets sent to their pushbullet.
*/
var Pushbulle... | JavaScript | 0.999034 | @@ -555,52 +555,8 @@
) %7B%0A
-%09var admins = trigger.options.admins %7C%7C %5B%5D;%0A
%09var
@@ -619,16 +619,60 @@
tions);%0A
+%09var admins = trigger.options.admins %7C%7C %5B%5D;%0A
%09trigger
|
5131e278347749dc7ebc0e67ff26aea63dac0375 | Update cleanup.js | packages/nexrender-core/src/tasks/cleanup.js | packages/nexrender-core/src/tasks/cleanup.js | const rimraf = require('rimraf')
/**
* Clean up all workpath files and remove folder
*/
module.exports = function(job, settings) {
if (settings.skipCleanup) {
settings.logger.log(`[${job.uid}] skipping the clean up...`);
return Promise.resolve(job)
}
return new Promise((resolve) => {
... | JavaScript | 0.000001 | @@ -992,24 +992,25 @@
%7D%0A
+%0A
|
9a015bf093920655435ae17d5671212766760e43 | Set circles to have stroke width of 2 | main.js | main.js | function drawNumberline(){
// remove existing canvas
$('#numberline.canvas svg').remove()
// get and set basic canvas attributes
var canvas = $('#numberline.canvas')[0];
var width = canvas.offsetWidth;
var height = canvas.offsetHeight;
var paper = Raphael(canvas, width, height);
var leftMargin = 75;
v... | JavaScript | 0.000001 | @@ -1517,21 +1517,40 @@
lors.min
+, 'stroke-width': 2
%7D);%0A
-
paper.
@@ -1978,16 +1978,35 @@
.desired
+, 'stroke-width': 2
%7D);%0A p
@@ -2462,16 +2462,35 @@
assigned
+, 'stroke-width': 2
%7D);%0A p
@@ -2880,16 +2880,16 @@
adius);%0A
-
maxCir
@@ -2915,16 +2915,35 @@
lors.max
+, 'stroke-width': 2
... |
ace54bb0fe7647934c4ea82eb6416027e01b2575 | Add DropGlCache() API to clear out medea's knowledge of OpenGl. | medea/medea.statepool.js | medea/medea.statepool.js |
/* medea.js - Open Source, High-Performance 3D Engine based on WebGL.
*
* (c) 2011-2013, Alexander C. Gessler
* https://github.com/acgessler/medea.js
*
* Made available under the terms and conditions of a 3-clause BSD license.
*
*/
medealib.define('statepool',[],function(medealib, undefined) {
"use strict";
... | JavaScript | 0 | @@ -3440,13 +3440,491 @@
ol;%0A%09%7D;%0A
+%0A%0A%09/** Drop any cached Gl state values. This is required after any modifications%0A%09 * to the webgl state that are external to medea. %0A %09 *%0A %09 * Calling this API is also expensive, as it kills lots of internal optimizations%0A %09 * and caches in the next f... |
b49d414fd5eab2d55e6a99bdadfec9e6e0c6a980 | Add deselect() function | main.js | main.js | var LABEL_WIDTH = 200,
GRAPH_WIDTH = 400, // Horizontal distance between centers of vertices on opposite sides
VTX_RAD = 4,
VTX_DIST = 40, // Distance between centers of two consecutive vertices
LABEL_OFFSET = 10, // Distance between label and center of vertex
MARGIN = {top: VTX_RAD, bottom: VTX_RAD, left: 0, righ... | JavaScript | 0 | @@ -804,16 +804,345 @@
IGHT);%0A%0A
+// Will hold the ID of the currently selected character%0Avar selected_ID = null;%0A%0A// Hide all edges incident to currently selected vertex%0Afunction deselect() %7B%0A%09if(selected_ID !== null) %7B%0A%09%09svg.selectAll(%22%5Bdata-l=%22 + selected_ID + %22%5D, %5Bdata-r=%22 + ... |
7939bf068c31b8f067729a9aad1535ad4dfaee75 | comment added to the code | app/components/videopage/video.controller.js | app/components/videopage/video.controller.js | (function () {
'use strict';
function VideoCtrl($scope) {
console.log('VideoCtrl started.');
$scope.title = 'UAS Webapp';
$scope.play = false;
$scope.UAVVideos = [
{
Video: '/app/components/assets/videos/UAV_Video_1.mp4',
Description... | JavaScript | 0 | @@ -7,17 +7,42 @@
ion () %7B
+ // video controller page
%0A
-
'use
@@ -199,37 +199,120 @@
lse;
-%0A $scope.UAVVideos = %5B
+//variable to avoid videos auto play%0A $scope.UAVVideos = %5B // array of videos with its three attributes
%0A
@@ -911,16 +911,84 @@
index) %7B
+//get unique index th... |
b68bce3fe9f74f75a524f9db292f0d1bb4d53434 | Allow submitting the user message via Ctrl+Enter | tests/FBTest/content/userMessage.js | tests/FBTest/content/userMessage.js | /* See license.txt for terms of usage */
// ********************************************************************************************* //
// Dialog Implementation
var UserMessage =
{
onLoad: function()
{
this.params = window.arguments[0];
},
onOK: function()
{
var textBox = $("... | JavaScript | 0 | @@ -280,32 +280,583 @@
unction()%0A %7B%0A
+ UserMessage.saveMessage();%0A %7D,%0A%0A onCancel: function()%0A %7B%0A this.params.cancel = true;%0A %7D,%0A%0A onKeyDown: function(event)%0A %7B%0A if (event.keyCode == KeyEvent.DOM_VK_RETURN && (event.metaKey %7C%7C event.ctrlKey... |
860755f15d0ff29b4e051e238983fc8c1fc454b0 | remove the overlay (bug 740263) | media/js/mkt/payments.js | media/js/mkt/payments.js | (function() {
var overlay = $('#pay'),
paymentsTemplate = template(overlay.html()),
product,
purchaseInProgress = true,
$def;
function beginPurchase(prod) {
if ($def && $def.state() == 'pending') {
$def.reject(product, 'collision');
return;
... | JavaScript | 0 | @@ -1744,16 +1744,57 @@
e.url);%0A
+ overlay.removeClass('show');%0A
@@ -2004,8 +2004,9 @@
%7D;%0A%7D)();
+%0A
|
a8ad0ebe604a64e57c157df277bfeb5b5e3d3ead | remove novacom error | packages/react-tv-cli/scripts/webos/index.js | packages/react-tv-cli/scripts/webos/index.js | const run = require('./run');
const setupDevice = require('node-webos/bin/ares-setup-device.js');
const novacom = require('node-webos/bin/ares-novacom.js');
module.exports = {
run,
setupDevice,
novacom,
};
| JavaScript | 0 | @@ -94,67 +94,8 @@
s');
-%0Aconst novacom = require('node-webos/bin/ares-novacom.js');
%0A%0Amo
@@ -137,18 +137,7 @@
ce,%0A
- novacom,%0A
%7D;%0A
|
a743b0f34729e60037392facc021a63d2e486d33 | Update courselist view | app/controllers/courses.server.controller.js | app/controllers/courses.server.controller.js | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Course = mongoose.model('Course'),
_ = require('lodash');
/**
* Create a Course
*/
exports.create = function(req, res) {
var course = new Course(req.body);
course.user = req.... | JavaScript | 0 | @@ -1261,18 +1261,17 @@
ort(
-'-created'
+%7B'ID': 1%7D
).po
@@ -2181,13 +2181,17 @@
ort(
+%7B
'
-+
ID'
+: 1%7D
).po
|
bcab67ce0d67e354ebffd351cd15cb94bf3e0d39 | Change behavior when session is not authenticated | packages/redux-simple-auth/src/middleware.js | packages/redux-simple-auth/src/middleware.js | import defaultStorage from './storage/default'
import isPlainObject from 'lodash.isplainobject'
import { AUTHENTICATE, FETCH, INVALIDATE_SESSION } from './actionTypes'
import {
authenticateFailed,
authenticateSucceeded,
invalidateSession,
invalidateSessionFailed,
restore,
restoreFailed,
updateSession
} fr... | JavaScript | 0 | @@ -4381,15 +4381,29 @@
ator
-Name =
+ = findAuthenticator(
getA
@@ -4421,16 +4421,18 @@
r(state)
+)%0A
%0A
@@ -4438,68 +4438,44 @@
-const authenticator = findAuthenticator(authenticatorName)%0A%0A
+if (!getIsAuthenticated(state)) %7B%0A
@@ -4505,35 +4505,18 @@
-getIsAuthenticated(state)... |
d7d95d6035c0dbf0101482bc50b946444075f64b | use alias instead of name | app/js/instances/instanceDetailController.js | app/js/instances/instanceDetailController.js | /*
* Copyright 2015 Caleb Brose, Chris Fogerty, Rob Sheehy, Zach Taylor, Nick Miller
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | JavaScript | 0.000025 | @@ -1113,36 +1113,37 @@
$scope.instance.
-name
+alias
%0A %7D);%0A%0A do
@@ -1203,20 +1203,21 @@
nstance.
-name
+alias
%0A %7D);
@@ -1540,36 +1540,37 @@
$scope.instance.
-name
+alias
,%0A qu
@@ -1772,12 +1772,13 @@
nce.
-name
+alias
,%0A
|
7b7c6ec2ead9f013b2ae0ce96940f0b08f449a64 | Update taskLists.js | lib/taskLists.js | lib/taskLists.js | var nodemiral = require('nodemiral');
var fs = require('fs');
var path = require('path');
var SCRIPT_DIR = path.resolve(__dirname, '../scripts');
var TEMPLATES_DIR = path.resolve(__dirname, '../templates');
exports.setup = function(installMongo, skipNode, skipPhantomjs) {
var taskList = nodemiral.taskList('Setting ... | JavaScript | 0.000001 | @@ -246,18 +246,19 @@
o, s
-ki
+etu
pNode, s
kipP
@@ -253,26 +253,27 @@
pNode, s
-ki
+etu
pPhantom
js) %7B%0A
@@ -260,26 +260,24 @@
setupPhantom
-js
) %7B%0A var ta
@@ -346,20 +346,20 @@
n%0A if (
-!ski
+setu
pNode) %7B
@@ -488,20 +488,20 @@
if (
-!ski
+setu
pPhantom
js)
@@ -496,18 +496,16 @@
pPhanto... |
226708f0a63745b870714af2021d9b5fcd5e24d2 | change to env in shebang | main.js | main.js | #!/usr/local/bin/node
var config,
path = require('path'),
os = require('os'),
winston = require('winston');
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {timestamp: true});
try {
config = require(path.join(os.homedir(), '.converter.json'));
if (config.ffmpeg... | JavaScript | 0.000002 | @@ -4,18 +4,16 @@
usr/
-local/
bin/
+env
node
|
77d01e641ca3c18b6944d9203c5a7e980d4a1b44 | format report | schedule.js | schedule.js | const request = require( 'request' )
const sign = require( './' )
const event = require( './lib/event' )
const Service = sign.Service
const service = sign.service
const createJar = sign.createJar
const BDUSS = process.env.BDUSS || ''
const PUSH_KEY = process.env.PUSH_KEY
// 信息统计
const count = {
success: 0,
alrea... | JavaScript | 0.001841 | @@ -1075,16 +1075,18 @@
oin( '%5Cn
+%5Cn
' )%0A%0A i
|
b4b8c83df89ad26b46003e5640b0dc2956471b72 | Update UpdateApp.js | UpdateApp.js | UpdateApp.js | Ext.define('Mba.ux.UpdateApp', {
extend: 'Ext.Evented',
requires: ['Ext.MessageBox'],
mixins: [
'Mba.ux.BuilderConfig.mixin.BuilderConfig'
],
config: {
plist: '',
currentVersion: ''
},
load: function() {
var me = this;
Ext.Ajax.request({
... | JavaScript | 0 | @@ -221,17 +221,108 @@
sion: ''
+,%0A message: 'Uma nova vers%C3%A3o do aplicativo foi encontrada. Deseja fazer o download?'
%0A
-
%7D,%0A%0A
@@ -528,20 +528,24 @@
urrent,
-xpto
+nodeType
;%0A
@@ -1328,20 +1328,24 @@
-xpto
+nodeType
= thisN
@@ -1470,13 +1470,18 @@
hile
-(xpto
+ (node... |
26efb7827493252d606103e6be18883a1195727e | Change event error to event warning. | main.js | main.js | /*global require, module*/
'use strict';
// bundled styling for app-header
require('./main.scss');
var AppHeader = require('./src/js/AppHeader');
var instance;
var getOrCreateInstance = function (element, options) {
if (!instance) {
instance = new AppHeader(element, options);
return instance;
}
return insta... | JavaScript | 0.00004 | @@ -450,78 +450,150 @@
%7B%0A%09%09
-console.error('Missing element or configuration for app header.
+window.console && console.warn('AppHeader received an incorrectly structured event or missing e.detail.element and/or e.detail.config
');%0A%09%7D%0A
+%09%0A
%09get
|
32e807b481eacfe5e108743eb4a8d8ea16718ace | update examples | examples/animations/app.js | examples/animations/app.js | import React from 'react'
import { render } from 'react-dom'
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'
import { browserHistory, Router, Route, Link } from 'react-router'
import './app.css'
class App extends React.Component {
render() {
return (
<div>
<ul>
<li... | JavaScript | 0 | @@ -165,16 +165,28 @@
, Route,
+ IndexRoute,
Link %7D
@@ -778,32 +778,264 @@
v%3E%0A )%0A %7D%0A%7D%0A%0A
+%0Aclass Index extends React.Component %7B%0A render() %7B%0A return (%0A %3Cdiv className=%22Image%22%3E%0A %3Ch1%3EIndex%3C/h1%3E%0A %3Cp%3EAnimations with React Router are not di... |
e0f3ee8641be72d80c10aae41f403a988b54734b | add grunt copy task | app/index.js | app/index.js | /* vim: set tabstop=2 shiftwidth=2 softtabstop=2 expandtab : */
'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var BeezGenerator = module.exports = function BeezGenerator(args, options, config) {
yeoman.generators.Base.apply(this, arguments);
this.o... | JavaScript | 0.000001 | @@ -3525,24 +3525,53 @@
ntignore');%0A
+ this.copy('Gruntfile.js');%0A
this.templ
|
6bec80f5eea66de6db4e319e353d03a935064cb0 | Update internationalization.js | src/core/internationalization.js | src/core/internationalization.js | import i18next from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import resources from '../../translations/index';
let translator = () => {
console.log('Translations are still loading...');
return '';
};
i18next
.use(LanguageDetector)
.init({
fallbackLng: 'en',
nestingPr... | JavaScript | 0.000001 | @@ -134,14 +134,8 @@
ions
-/index
';%0A%0A
|
4116b2ee0b9c62d0f52549adba74679da03ef978 | add initial stub translator fn | src/core/internationalization.js | src/core/internationalization.js | import i18next from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import resources from '../../translations';
/**
* This is our translation function. Give it a key and
* it will retreive the appropriate string
* (within supported languages) according to the
* user's browser's language... | JavaScript | 0.000001 | @@ -630,16 +630,117 @@
anslator
+ = () =%3E %7B%0A console.debug('p5.js translator called before translations were loaded');%0A return '';%0A%7D
;%0A// (We
|
0b0cedbc2891ab29a41750c8a8b58993e6a0d0bd | Change karma log lvl to WARN | tools/karma.conf.js | tools/karma.conf.js | const browsers = ['Firefox'];
if (!process.env.CI) {
browsers.push('Chrome');
switch (process.platform) {
case 'darwin':
browsers.push('Safari');
break;
case 'win32':
browsers.push('IE');
browsers.push('Edge');
break;
}
}
module.e... | JavaScript | 0.000001 | @@ -617,16 +617,51 @@
un: true
+,%0A logLevel: config.LOG_WARN
%0A %7D);
|
77680a3173878afce8ce24d246d005234a285e85 | Clean up code | lib/tokenize.es6 | lib/tokenize.es6 | const SINGLE_QUOTE = '\''.charCodeAt(0);
const DOUBLE_QUOTE = '"'.charCodeAt(0);
const BACKSLASH = '\\'.charCodeAt(0);
const SLASH = '/'.charCodeAt(0);
const NEWLINE = '\n'.charCodeAt(0);
const SPACE = ' '.charCodeAt(0);
const FEED = '\f'.charCodeAt(0)... | JavaScript | 0.000004 | @@ -1476,17 +1476,17 @@
-(
+
code ===
@@ -1527,17 +1527,16 @@
NEWLINE
-)
) %7B%0A
|
82ea26a995d9adb97f5baa588dee04ad0c6722a3 | Fix the VRT issues. | stories/notifications.stories.js | stories/notifications.stories.js | /**
* Notification Component Stories.
*
* Site Kit by Google, Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENS... | JavaScript | 0.000001 | @@ -1945,35 +1945,24 @@
ch-console',
- 'adsense',
'analytics'
|
07ff5a02eda4b6e87043a3e780636428456c495c | Add "edit" feature to Docusaurus pages (#5492) | docusaurus/website/siteConfig.js | docusaurus/website/siteConfig.js | /**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.
const siteConfig = {
title: 'Create... | JavaScript | 0 | @@ -611,16 +611,104 @@
t-app/',
+%0A editUrl: 'https://github.com/facebook/create-react-app/edit/master/docusaurus/docs/',
%0A%0A // U
|
97afe9ee13f7480e071044e7e6318926f600bad7 | Fix setter of menuitem "submenu" does't work. | src/api/menuitem/menuitem.js | src/api/menuitem/menuitem.js | // Copyright (c) 2012 Intel Corp
// Copyright (c) 2012 The Chromium Authors
//
// 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... | JavaScript | 0 | @@ -5193,17 +5193,20 @@
is, 'Set
-M
+Subm
enu', %5B
|
727992a2c617da7a0f3b31af106473e0b48b8cc8 | Upgrade to eslint-plugin-react v6.1.2 | rules/reactPlugin-generic.js | rules/reactPlugin-generic.js | /**
* These rules relate to reactJS.
* @module rules/reactPlugin
* @see {@link https://github.com/yannickcr/eslint-plugin-react}
*/
"use strict"
module.exports = {
plugins : ["react"],
rules : {
// Prevent missing displayName in a React component definition
"react/display-name" : [ "error", { ignoreTra... | JavaScript | 0.000001 | @@ -2199,172 +2199,8 @@
r%22,%0A
- // Restrict file extensions that may be required%0A // ** deprecated ** in v6.0.0%0A %22react/require-extension%22 : %5B %22off%22, %7B extensions : %5B %22.js%22, %22.jsx%22 %5D%7D%5D,%0A
|
b99363a9105c56b837b3b24d7a340144a6b78066 | implement also a simple path find on flow_env | lib/transform.js | lib/transform.js | var libob = require('libobject');
/**
* Resolve data fields in for incoming configs.
*
* @public
* @param {object} The options object.
* @param {object} The data object.
* @param {function} The next handler.
*/
exports.transform = function (options, data, next) {
/*
TODO create docs
Config ... | JavaScript | 0 | @@ -643,24 +643,155 @@
%0A %7D%0A%0A
+ if (typeof args%5Bkey%5D === 'string') %7B%0A data%5Bkey%5D = libob.path(args%5Bkey%5D, process.flow_env);%0A %7D else %7B%0A
data
@@ -886,16 +886,26 @@
_env));%0A
+ %7D%0A
%7D%0A%0A
|
db6e1e76a322a4ec79112cf3875942587ef768fb | Add docs for DashboardPage.js | src/pages/DashboardPage.js | src/pages/DashboardPage.js | /* eslint-disable react/require-default-props */
/* eslint-disable react/forbid-prop-types */
/**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2018
*/
import React from 'react';
import { View, StyleSheet, Text } from 'react-native';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
i... | JavaScript | 0 | @@ -575,16 +575,357 @@
ndex';%0A%0A
+/**%0A * This page receives all reports and renders a ReportSideBar and ReportChart components%0A * *%0A * @prop %7BObject%7D reports All reports available to be selected%0A * @prop %7BObject%7D currentReport The current rendered report%0A * @prop %7Bfunction%7D ... |
7bab7fbce31328397557c6a04cc7edad59fd1cdd | Update blog model to match API camelCase changes | src/database/models/blog-post.js | src/database/models/blog-post.js | import Sequelize from 'sequelize';
import database from '../';
import User from './user';
const URI = Sequelize.STRING(2048);
const blogPostDatabaseDefinition = database.define('blog_post', {
id: {
type: Sequelize.INTEGER,
autoIncrement: true,
primaryKey: true,
field: 'id',
allowNull: false
},... | JavaScript | 0 | @@ -841,33 +841,8 @@
%7D%0A
-%7D, %7B%0A underscored: true%0A
%7D);%0A
@@ -920,16 +920,35 @@
%7B name:
+ 'authorId', field:
'author
@@ -1020,9 +1020,8 @@
nition;%0A
-%0A
|
7a5c8584cfb63c5460d7589c4272438a5c20ea18 | Add compatible version numbers to command help. | bin/sails.js | bin/sails.js | #!/usr/bin/env node
/**
* Module dependencies
*/
var _ = require('@sailshq/lodash');
var program = require('./private/patched-commander');
var sailsPackageJson = require('../package.json');
var NOOP = function() {};
program
.version(sailsPackageJson.version, '-v, --version');
//
// Normalize version argumen... | JavaScript | 0 | @@ -2149,32 +2149,55 @@
md.description('
+(for Node v5 and below)
');%0Acmd.action(r
@@ -2311,32 +2311,55 @@
md.description('
+(for Node v6 and above)
');%0Acmd.action(r
|
a2cc5269fddf021fe7a7a0e9bcdb216a60d53ef9 | add ssl support | lib/ui/navbar.js | lib/ui/navbar.js | var debug = require('debug')('signalk:instrumentPanel'),
rb = require('react-bootstrap'),
signalkClient = require('@signalk/client').Client,
ConnectionIndicator = require('./connectionindicator'),
FontAwesome = require('react-fontawesome'),
React = require('react');
var Button = rb.Button,
Inpu... | JavaScript | 0 | @@ -4845,24 +4845,425 @@
nnected)) %7B%0A
+ const useSSL = host.startsWith('https://') %7C%7C window.location.protocol === 'https:'%0A const theHost = host.startsWith('https:') %7C%7C host.startsWith('http:') ? host.split(':').slice(1).join(':').replace(/%5C//g, '') : host%0A console.log(host)%0A... |
a91a1ef2eb03277c05ab03dd71116a87d7181b64 | unify home controller test | app/templates/client/views/home/home.spec.js | app/templates/client/views/home/home.spec.js | 'use strict';
describe('HomeCtrl', function () {
beforeEach(module('<%= appname %>'));
var HomeCtrl,
scope;
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
HomeCtrl = $controller('HomeCtrl', {
$scope: scope
});
}));
it('should ...', function () {
... | JavaScript | 0.000003 | @@ -18,16 +18,28 @@
scribe('
+Controller:
HomeCtrl
|
2d77c47917021a709585ea7e22d9715d3e520b1f | Fix build | lib/userAgent.js | lib/userAgent.js | import * as Events from './Events'
import Account from './Account'
import Channel from './Channel'
import EventEmitter from 'events'
/**
* An interface for interacting with an Other Chat user agent.
* @emits UserAgent#NAVIGATE
* @emits UserAgent#SET_CHAT_COMPLETE_RESULTS
* @emits UserAgent#SET_MESSAGE_ACTIONS
* @... | JavaScript | 0.000001 | @@ -4486,36 +4486,40 @@
D_MESSAGE%0A * @
+proper
ty
-pe
%7B!Object%7D metad
|
e910ed03c24c4da8cb428be8365ac38301eeca84 | Update last updated date | app/app.js | app/app.js | import lodash from 'lodash';
// Global version vars
appVersion = require('./package.json').version;
appLastUpdated = "4 Dec 2016";
// Replace global underscore with lodash
_ = lodash; | JavaScript | 0.000005 | @@ -116,9 +116,10 @@
= %22
-4
+28
Dec
|
67f63eaa89412619dc574cf0a661693348524ad2 | store and retry transition. | app/app.js | app/app.js | import Resolver from 'resolver';
var App = Ember.Application.extend({
LOG_ACTIVE_GENERATION: true,
LOG_MODULE_RESOLVER: true,
LOG_TRANSITIONS: true,
LOG_TRANSITIONS_INTERNAL: true,
LOG_VIEW_LOOKUPS: true,
modulePrefix: 'appkit', // TODO: loaded via config
Resolver: Resolver['default'],
init: function (... | JavaScript | 0 | @@ -1528,16 +1528,177 @@
var
+self = this,%0A siteName = Ember.$('meta%5Bname=%22siteName%22%5D').attr('content'),%0A buildLive = Ember.$('meta%5Bname=%22buildLive%22%5D').attr('content'),%0A
session
@@ -1718,24 +1718,24 @@
t.create();%0A
-
%0A // Add
@@ -2163,80 +2163,8 @@
%7B%0A%... |
9b18005fc504d628ee3df69c13a347238989bbef | Fix Interests to be Interest. | server/db.js | server/db.js | var mongoose = require('mongoose');
var db = {};
mongoose.connect('mongodb://localhost/brainstormer');
var userModel = require('./users/user.server.model.js');
var ideaModel = require('./ideas/idea.server.model.js');
var roomModel = require('./rooms/room.server.model.js');
var interestModel = require('./interests/inte... | JavaScript | 0 | @@ -450,17 +450,16 @@
Interest
-s
= mongo
|
57c157fa3839597ed1a119be44f7c09f658e2dc7 | Switch to em-based media queries | frontend/src/styles/common.js | frontend/src/styles/common.js | function buildMediaQuery(lowerBound) {
return `@media only screen and (min-width:${lowerBound})`
}
export const mediaQueries = {
smallUp: buildMediaQuery("0px"),
mediumUp: buildMediaQuery("640px"),
largeUp: buildMediaQuery("1024px"),
extraLargeUp: buildMediaQuery("1440px"),
extraExtraLargeUp: buildMediaQue... | JavaScript | 0.000004 | @@ -1,51 +1,28 @@
-function buildMediaQuery(lowerBound) %7B%0A return
+const mq = lowerBound =%3E
%60@m
@@ -53,16 +53,17 @@
n-width:
+
$%7BlowerB
@@ -71,12 +71,12 @@
und%7D
+em
)%60
-%0A%7D
%0A%0Aex
@@ -118,196 +118,105 @@
Up:
-buildMediaQuery(%220px%22),%0A mediumUp: buildMediaQuery(%22640px%22),%0A large... |
e7536b5c35f4628c0648c7585585fdbb86a050b8 | add additional watcher validating cloak | src/directive/translate-cloak.js | src/directive/translate-cloak.js | angular.module('pascalprecht.translate')
/**
* @ngdoc directive
* @name pascalprecht.translate.directive:translateCloak
* @requires $rootScope
* @requires $translate
* @restrict A
*
* $description
* Adds a `translate-cloak` class name to the given element where this directive
* is applied initially and removes... | JavaScript | 0.000001 | @@ -941,16 +941,28 @@
ranslate
+, $rootScope
) %7B%0A%0A '
@@ -1369,24 +1369,93 @@
t, iAttr) %7B%0A
+ if (iAttr.translateCloak && iAttr.translateCloak.length) %7B%0A
// R
@@ -1532,34 +1532,42 @@
oak%0A
-if (
+
iAttr.
+$observe('
translateClo
@@ -1572,69 +1572,249 @@
loak
- && iAttr.t... |
5d005f989c7aebdd3210ff43cc3f75993f008a29 | Introduce #treeWithoutTrash() | cli/test/helpers/local.js | cli/test/helpers/local.js | /* @flow */
import Promise from 'bluebird'
import fs from 'fs-extra'
import path from 'path'
import rimraf from 'rimraf'
import * as conflictHelpers from './conflict'
import { SyncDirTestHelpers } from './sync_dir'
import { TMP_DIR_NAME } from '../../src/local/constants'
import Local from '../../src/local'
import t... | JavaScript | 0 | @@ -2613,24 +2613,135 @@
eDate)%0A %7D%0A%0A
+ async treeWithoutTrash () %7B%0A return (await this.tree())%0A .filter(p =%3E !p.startsWith('/Trash/'))%0A %7D%0A%0A
async simu
|
31acba1b88774f0ac732e82a52f8636d1c5a5254 | set zendesk widget theme | src/assets/zendesk-widget.js | src/assets/zendesk-widget.js | window.zEmbed || function (e, t) {
var n, o, d, i, s, a = [], r = document.createElement("iframe");
window.zEmbed = function () {
a.push(arguments)
}, window.zE = window.zE || window.zEmbed, r.src = "javascript:false", r.title = "", r.role = "presentation", (r.frameElement || r).style.cssText = "display: none... | JavaScript | 0 | @@ -952,8 +952,258 @@
()%0A%7D();%0A
+%0Awindow.zESettings = %7B%0A webWidget: %7B%0A // https://developer.zendesk.com/embeddables/docs/widget/api%0A // is possible to set positioning and offset to top right but cannot configure button padding%0A color: %7B%0A theme: '#0089bd'%0A %7D%0A %7D%0A%7D;%0... |
1e7524963bff07d9e08acdd139f4aa30e22e2a79 | fix tournament route | ui/round/src/view/table.js | ui/round/src/view/table.js | var m = require('mithril');
var chessground = require('chessground');
var round = require('../round');
var status = require('../status');
var opposite = chessground.util.opposite;
var renderClock = require('../clock/view');
var renderStatus = require('./status');
var renderUser = require('./user');
var button = require... | JavaScript | 0.000091 | @@ -2153,16 +2153,23 @@
f: ctrl.
+router.
Tourname
|
65e0c21b4e201bb259800126233e8c843f601008 | Replace assert with expect to ease debug | mocha_test/timeout.js | mocha_test/timeout.js | var async = require('../lib');
var assert = require('assert');
describe('timeout', function () {
it('timeout with series', function(done){
async.series([
async.timeout(function asyncFn(callback) {
setTimeout(function() {
callback(null, 'I didn\'t time out');... | JavaScript | 0.000001 | @@ -28,21 +28,21 @@
');%0Avar
-asser
+expec
t = requ
@@ -50,16 +50,21 @@
re('
-assert')
+chai').expect
;%0A%0Ad
@@ -604,37 +604,37 @@
) %7B%0A
-asser
+expec
t(err.message ==
@@ -622,37 +622,43 @@
pect(err.message
- ===
+).to.equal(
'Callback functi
@@ -688,37 +688,37 @@
');%0A
-asser
... |
02983fd7734438b982b442026bad5ee65b62e145 | increase default sensitivity to `2000` and max to `4000` | controllers/n50.js | controllers/n50.js | 'use strict';
const express = require('express').Router;
const pg = require('../lib/pg');
const app = express();
const HttpError = require('@starefossen/http-error');
app.get('/routing', (req, res, next) => {
if (!req.query.coords || req.query.coords.split(',').length !== 4) {
return next(new HttpError('Missin... | JavaScript | 0 | @@ -542,17 +542,17 @@
vity %7C%7C
-1
+2
000, 10)
@@ -553,17 +553,17 @@
0, 10),
-2
+4
000);%0A%0A
|
615fdd072245f8e6febe3dc98430443253471a5e | fix window object | client/app/integration.js | client/app/integration.js | 'use strict';
const _extend = require('lodash/extend');
const consts = require('./consts');
const Receiver = require('emarsys-integration-client').comm.Receiver;
const AlertApi = require('emarsys-integration-client').api.Alert;
const Transmitter = require('./comm/transmitter');
const DialogApi = require('./service/di... | JavaScript | 0 | @@ -2188,19 +2188,14 @@
-this.window
+global
.loc
|
7e17850e393bd52cb9fa2889492a5dd4d2944cb4 | remove title from template | client/apps/web/server.js | client/apps/web/server.js | import React from 'react'
import { renderToString } from 'react-dom/server'
import { Provider } from 'react-redux'
//import { browserHistory } from 'react-router'
import { match, Router, RouterContext, createMemoryHistory } from 'react-router'
import sharify from 'sharify';
import _ from 'lodash';
import {Helmet} from ... | JavaScript | 0.000001 | @@ -3135,103 +3135,8 @@
%22%3E%0A%0A
- %0A%0A %3Ctitle%3EFuertecharter%3C/title%3E%0A
|
c134d85251b932eb70986c293bd1ea1de66d9113 | Fix bug in remove demo | tools/removeDemo.js | tools/removeDemo.js | // This script removes demo app files
import rimraf from 'rimraf';
import fs from 'fs';
import colors from 'colors';
/* eslint-disable no-console */
const pathsToRemove = [
'./source/modules/demo',
'./source/modules/header-presentation',
'./source/modules/github-button',
'./source/modules/header/*',
'./sour... | JavaScript | 0 | @@ -901,19 +901,16 @@
g)%0A%0A
-
+%09
head%0A
-
+%09%09
+hea
@@ -927,18 +927,17 @@
e)%0A%0A
-
+%09
+page()%0A
@@ -932,20 +932,18 @@
+page()%0A
-
+%09%09
+inject(
@@ -952,22 +952,19 @@
eader')%0A
-
+%09%09%09
+header(
@@ -966,20 +966,18 @@
ader()%0A%0A
-
+%09%09
+inject(
@@ -984,22... |
df50e92c3d7860b95cb290957277614899c670ba | Update showcase.js | showcase.js | showcase.js | var curProject = 3,
projects,
fadeTime = 600;
$(document).ready(function() {
projects = $('.showcase .project');
$(projects[curProject]).fadeIn(fadeTime);
// set up the click-event handlers
$('.arrow-prev').click(function() {
$(projects[curProject]).fadeOut(fadeTime, function() {
// callback... | JavaScript | 0 | @@ -1,7 +1,7 @@
-var
+let
cur
@@ -15,27 +15,14 @@
= 3
-,%0A projects,%0A
+%0Aconst
fad
@@ -32,17 +32,16 @@
me = 600
-;
%0A%0A$(docu
@@ -52,30 +52,31 @@
).ready(
-function() %7B%0A
+() =%3E %7B%0A const
project
@@ -102,17 +102,16 @@
roject')
-;
%0A $(pro
@@ -145,17 +145,16 @@
adeTime)
-;
%0A%0A ... |
f71f9b4dc6a34dcddfd1c14650e4a836348bdd94 | Read the metadata from the phone and send it to the server | www/js/control/uploadService.js | www/js/control/uploadService.js | 'use strict';
angular.module('emission.services.upload', ['emission.plugin.logger'])
.service('UploadHelper', function ($window, $translate, $http, $rootScope, $ionicPopup, Logger) {
const getUploadConfig = function () {
return new Promise(function (resolve, reject) {
Logger.lo... | JavaScript | 0.000001 | @@ -2744,17 +2744,21 @@
.result.
-l
+byteL
ength +%22
@@ -2808,16 +2808,29 @@
resolve(
+new DataView(
this.res
@@ -2833,16 +2833,17 @@
.result)
+)
;%0A
@@ -2908,20 +2908,19 @@
adAs
-BinaryString
+ArrayBuffer
(fil
@@ -3169,17 +3169,16 @@
-Type':
-%22
undefine
@@ -3178,17 +3178,17 @@
ndefined
-%22
+
%... |
4c0de17f4577f94ad8903f8fd5b65d384895f4ff | Test fix for errors caused by CWD being different when using a systemd initiated service as compared to npm start or node ./ | core/cognactime.js | core/cognactime.js | /*
Created by 'myth' on June 30. 2015
CognacTime is licenced under the MIT licence.
*/
var fs = require('fs')
, express = require('express')
, expresshbs = require('express-handlebars')
, io = require('socket.io')
, log = require('./logging')
, pkg = re... | JavaScript | 0 | @@ -429,16 +429,52 @@
s/core')
+%0A, path = require('path')
%0A%0A// Ini
@@ -773,17 +773,39 @@
views',
-'
+path.join(__dirname, '.
./views'
@@ -805,16 +805,17 @@
/views')
+)
%0Act.set(
|
aee47eae2f9ebcc989dfc610df0ca9a9e578836a | Handle "const" arguments | wegas-app/src/main/webapp/wegas-react-form/src/Script/modules/ArgForm.js | wegas-app/src/main/webapp/wegas-react-form/src/Script/modules/ArgForm.js | import React from 'react';
import Form from 'jsoninput';
import PropTypes from 'prop-types';
import { argSchema, valueToType, typeToValue, matchSchema } from './args';
import { containerStyle } from '../Views/conditionImpactStyle';
import { types } from 'recast';
const b = types.builders;
export default class ArgFrom... | JavaScript | 0.001177 | @@ -82,24 +82,61 @@
rop-types';%0A
+import %7B isEqual %7D from 'lodash-es';%0A
import %7B arg
@@ -505,24 +505,83 @@
%7D;%0A %7D%0A
+ componentDidMount() %7B%0A this.checkConst();%0A %7D%0A
componen
@@ -1246,289 +1246,281 @@
-render() %7B%0A const %7B value, onChange, entity %7D ... |
4c159df962c2082b30f2c0c891308792707c2b86 | Fix ADD_MAP | src/dtile-state/reducers/maps.js | src/dtile-state/reducers/maps.js | (() => {
const { default: undoable } = window.ReduxUndo;
// entities.maps
DTile.reducers.entities.maps = (state = {}, action) => {
switch (action.type) {
case "ADD_MAP":
return {
...state,
[action.payload.mapId]: map(state, action)... | JavaScript | 0.000632 | @@ -299,21 +299,25 @@
d%5D: map(
-state
+undefined
, action
|
7fdc8937dd2af570ad554888dbf77ca0842e9b68 | Change registration props | model/registration.js | model/registration.js | 'use strict';
var db = require('mano').db,
StringLine = require('dbjs-ext/string/string-line')(db);
module.exports = db.Object.extend('Registration', {}, {
label: {
type: StringLine
},
requirements: {
type: db.Function,
multiple: true,
value: function (user) {
return [];
}
},
certificates: {
type... | JavaScript | 0 | @@ -185,16 +185,48 @@
ine%0A%09%7D,%0A
+%09abbr: %7B%0A%09%09type: StringLine%0A%09%7D,%0A
%09require
@@ -255,34 +255,16 @@
nction,%0A
-%09%09multiple: true,%0A
%09%09value:
@@ -325,35 +325,34 @@
: %7B%0A%09%09type:
-db.Function
+StringLine
,%0A%09%09multiple
@@ -361,54 +361,8 @@
true
-,%0A%09%09value: function... |
f5896d46a60d235122799bf5b2ef84dfe6cb8941 | Add missing comment #75 | dojopaas.js | dojopaas.js | var sacloud = require('sacloud');
var fs = require('fs');
var csv = require('comma-separated-values');
var Server = require('./lib/Server');
var list = __dirname + '/servers.csv';
var production = false;
if (process.argv.some(function(v){ return v === '--production' })) {
production = true; // 本番環境
}
if (true === ... | JavaScript | 0 | @@ -679,16 +679,27 @@
B: 20480
+ // 20GB
%0A %7D,%0A
|
e3fd9c4d2405eedac029a0584b050d8230f6d0a9 | update index for what's actually queried | models/msaBranches.js | models/msaBranches.js | 'use strict';
var mongoose = require('mongoose');
var msaBranchesSchema = mongoose.Schema({
'activity_year': String,
'respondent_id': String,
'respondent_name': String,
'msa': [String],
'agency_code': String
});
msaBranchesSchema.index({'activity_year': 1, 'respondent_id': 1});
module.exports = mo... | JavaScript | 0 | @@ -288,16 +288,44 @@
ent_id':
+ 1, 'agency_code': 1, 'msa':
1%7D);%0Amo
|
adcc6b94fc7ed844b7c4ef93356d1e47e3ba5d5e | fix crash if no action is found | backend/models/action.js | backend/models/action.js | 'use strict';
//var config = require('../config');
var mongoose = require('mongoose');
var _ = require('underscore');
var Schema = mongoose.Schema;
var ActionSchema = new Schema({
name: {
type: String,
required: true
},
description: {
type: String,
required: true
},
impact: {
type: Numb... | JavaScript | 0.000001 | @@ -1284,32 +1284,88 @@
%0A cb(err);%0A
+ %7D else if (!action) %7B%0A cb('Action not found');%0A
%7D else %7B%0A
|
6de3584d9c2666f27206d67f006f915878616169 | Update languages module index | src/app/modules/languages/index.js | src/app/modules/languages/index.js | import angular from 'angular';
// Create the module where our functionality can attach to
let app = angular.module('app.lang', ['pascalprecht.translate']);
// Include languages
import EnglishProvider from './en';
app.config(EnglishProvider);
import FrenchProvider from './fr';
app.config(FrenchProvider);
import Chin... | JavaScript | 0 | @@ -234,24 +234,26 @@
Provider);%0A%0A
+/*
import Frenc
@@ -302,16 +302,18 @@
ovider);
+*/
%0A%0Aimport
|
de606c454292e2526dff2bfe5fa02f8cd81f4ad5 | remove istioRoute from kubernetes load/save config | generators/kubernetes-base.js | generators/kubernetes-base.js | /**
* Copyright 2013-2019 the original author or authors from the JHipster project.
*
* This file is part of the JHipster project, see https://www.jhipster.tech/
* for more information.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... | JavaScript | 0 | @@ -1846,61 +1846,8 @@
');%0A
- this.istioRoute = this.config.get('istioRoute');%0A
@@ -2535,44 +2535,8 @@
io,%0A
- istioRoute: this.istioRoute%0A
|
ab259e48ede57e0035d29fd0c54f5138498c1700 | Redact assignee in activity changes on show_bug | show_bug.js | show_bug.js | "use strict";
/* import-globals-from common.js */
// Detect an active review request on the bug page.
function submitter() {
const flags = document.querySelectorAll(`div.attach-flag .vcard_${user.id}`);
for (const f of flags) {
const type = f.previousElementSibling;
const vcard = f.parentNode.firstElemen... | JavaScript | 0 | @@ -1199,16 +1199,229 @@
ible);%0A%0A
+ const changes = document.querySelectorAll(%22.activity%3E.change%22);%0A for (const c of changes) %7B%0A if (c.textContent.startsWith(%22Assignee:%22)) %7B%0A c.textContent = %22Assignee: %5Bredacted%5D%22;%0A %7D%0A %7D%0A%0A
// T
|
543d056d21cfe851267df6587869792bc0f73a86 | Create dest before attempting to write | download.js | download.js | 'use strict';
var decompress = require('decompress');
var fs = require('fs');
var mkdir = require('mkdirp');
var path = require('path');
var request = require('request');
var stream = require('through2')();
/**
* Download a file to a given destination
*
* Options:
*
* - `extract` Try extracting the file
*
* ... | JavaScript | 0 | @@ -1113,55 +1113,8 @@
e %7B%0A
- end = fs.createWriteStream(dest);%0A%0A
@@ -1224,16 +1224,63 @@
%7D
+%0A%0A end = fs.createWriteStream(dest);
%0A
|
ed982fe36bcb95c142e4e5bfd080f8a3d8a6cc04 | Improve error message and exit code in load-versions.js. | load-versions.js | load-versions.js | #!/usr/bin/env node
'use strict';
const fs = require('fs');
const semver = require('semver')
function download (url, cb) {
let data = '';
const request = require('https').get(url, function (res) {
res.on('data', function (chunk) { data += chunk; });
res.on('end', function () { cb(null, data... | JavaScript | 0 | @@ -88,16 +88,47 @@
emver')%0A
+const https = require('https');
%0A%0Afuncti
@@ -178,40 +178,13 @@
-const request = require('
https
-')
.get
@@ -202,25 +202,24 @@
ion (res) %7B%0A
-%0A
res.
@@ -333,22 +333,8 @@
%7D)
-;%0A%0A request
.on(
@@ -406,10 +406,26 @@
file
-:'
+ from %25s: %25s', url... |
0d79174f1e17585f34805912fc98e0a8b634e8a6 | Use window scrollTo. | assets/js/feature-tours/unified-dashboard.js | assets/js/feature-tours/unified-dashboard.js | /**
* Unified Dashboard Feature Tour.
*
* Site Kit by Google, Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENS... | JavaScript | 0 | @@ -2605,47 +2605,298 @@
%0A%09%09%09
-tooltipElement?.scrollIntoView( true );
+const wpAdminBarElement = global.document.querySelector(%0A%09%09%09%09'#wpadminbar'%0A%09%09%09);%0A%0A%09%09%09if ( tooltipElement && wpAdminBarElement ) %7B%0A%09%09%09%09global.scrollTo( %7B%0A%09%09%09%09%09top:%0A%09%09%09%09%09%09to... |
2aa350c9e7ffb5ca0366ee59b6d10ad3436881e9 | Add semicolon to the right place | source/js/templates.js | source/js/templates.js | const config = require('./config');
const request = require('./request');
const debug = require('./debug');
const _template = require('lodash/template');
const cache = {};
module.exports = {
get(name) {
return request.get(config.templates+name+'.html')
.then((tmp) => {
let compiled = _template(tmp, {variable:... | JavaScript | 0.999999 | @@ -403,8 +403,9 @@
);%0A%0A%09%7D%0A%7D
+;
|
79b2b40d3a5176375779a766b72ae4bada7b8dac | make iframe resizer compatible with amp-iframe | assets/js/modules/iframeResizer.js | assets/js/modules/iframeResizer.js | /** @module modules/iframeResizer */
/** Default config. */
const defaultConfig = {
el: null,
delay: 0,
iframeId: 'iframeId',
}
/**
* Create a new IframeResizer
* @class
* @param {Object} cfg config object
* @param {HTMLIFrameElement} [cfg.el=null] iframe element
* @param {Int} [cfg.delay=0] delay between ... | JavaScript | 0 | @@ -1234,36 +1234,84 @@
lay)%0A %7D%0A%7D%0A%0A/**%0A
+ * Send new height information to parent iframe%0A
*/%0A
-
IframeResizer.pr
@@ -1368,11 +1368,14 @@
dow.
-top
+parent
.pos
@@ -1470,16 +1470,16 @@
rameId,%0A
-
%7D, '*'
@@ -1480,16 +1480,258 @@
%7D, '*')%0A
+%0A // This postMessage is dedicated to AMP%... |
e06005f7800e428976ec61880f8df3ebaa0efaf1 | fix NameTest.matches so that every path hits a return statement | nameTest.js | nameTest.js | // Copyright 2012 Google Inc. All Rights Reserved.
/**
* @fileoverview A class implementing the NameTest construct.
*/
goog.provide('wgxpath.NameTest');
goog.require('goog.dom.NodeType');
/**
* Constructs a NameTest based on the xpath grammar:
* http://www.w3.org/TR/xpath/#NT-NameTest
*
* @param {string} na... | JavaScript | 0.000038 | @@ -783,25 +783,25 @@
%0A if (type
-=
+!
= goog.dom.N
@@ -816,18 +816,18 @@
ELEMENT
-%7C%7C
+&&
%0A t
@@ -830,17 +830,17 @@
type
-=
+!
= goog.d
@@ -866,16 +866,36 @@
TE) %7B%0A
+ return false;%0A %7D%0A
if (th
@@ -958,26 +958,24 @@
se()) %7B%0A
-
return true;
@@ -975,18 +975,16 @@
n t... |
acdbe84d064822cdbd0cf1b6a1f02ec04f2a9171 | fix for image fix | filter-people.js | filter-people.js | var _ = require('lodash'),
fs = require('fs'),
argv = require('minimist')(process.argv.slice(2)),
jsontr = require('./json-transform.js');
if (!argv.f) {
console.log( "You must specify the JSON file that you want to merge with the -f flag!" );
process.exit()
}
var items = require('./people.json');
var... | JavaScript | 0.000001 | @@ -2779,16 +2779,39 @@
ld_image
+ && pep.field_image.url
) pep.fi
|
941cf4cabfc77c1cd0a4ec775a0f88502609c50c | Fix socket service not setting role | src/app/services/socket.service.js | src/app/services/socket.service.js | class SocketService {
constructor($log, SockJS, baseURLConfig, BroadcastService) {
'ngInject';
this.$log = $log;
this.SockJS = SockJS;
this.baseURLConfig = baseURLConfig;
this.BroadcastService = BroadcastService;
this.socket = null;
this.connected = false;
this.extendedHandler = null... | JavaScript | 0.000001 | @@ -1481,37 +1481,16 @@
me: name
-,%0A role: 'owner'
%0A %7D);
@@ -1593,29 +1593,8 @@
oom'
-,%0A role: 'owner'
%0A
@@ -1613,24 +1613,48 @@
send(obj) %7B%0A
+ obj.role = 'owner';%0A
var json
|
5fc133fc6f660cd87d02ef1bf5bd08b44b6ed2f6 | add methods for dealing with microseconds | duration.js | duration.js | var Duration = (function () {
var millisecond = 1,
second = 1000 * millisecond,
minute = 60 * second,
hour = 60 * minute,
day = 24 * hour,
week = 7 * day;
var unitMap = {
"ms" : millisecond,
"s" : second,
... | JavaScript | 0 | @@ -812,19 +812,19 @@
otype.mi
-lli
+cro
seconds
@@ -858,40 +858,116 @@
urn
-Math.floor(this._milliseconds /
+this._milliseconds * 1000;%0A %7D;%0A%0A Duration.prototype.milliseconds = function () %7B%0A return this._
mill
@@ -969,25 +969,25 @@
_millisecond
-)
+s
;%0A %7D;%0A%0A
@@ -3669,24 +... |
beef5958cea4b929b3c87795497da9e8f9cbfcf7 | Fix JobResult::getOutputUrlUrl | src/resources/JobResult.js | src/resources/JobResult.js | /*
* BSD 3-Clause License
*
* Copyright (c) 2017, MapCreator
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, th... | JavaScript | 0.002064 | @@ -2813,16 +2813,23 @@
his.url%7D
+/output
-url%60;%0A
|
42399505cdf334b7f3eb6d50d15aed77d0b49fd2 | fix for IE8 | smodular.js | smodular.js | // define/require part
(function (global, undefined) {
var modules = {},
document = global.document,
registredModules = {},
ASTERISK = '*',
APP = 'app.',
MAX_LOOP_DEEP = 30,
SPLITTER = '.',
NOT_FOUND = 'Module not found: ',
requires = [],
modulesMap = {};
function mapModuleName(defName, reqName) {
... | JavaScript | 0 | @@ -1,8 +1,397 @@
+%0A// IE8 fix%0Aif (!Array.prototype.indexOf) %7B%0A%09Array.prototype.indexOf = function (elt /*, from*/) %7B%0A%09%09var len = this.length %3E%3E%3E 0,%0A%09%09%09from = Number(arguments%5B1%5D) %7C%7C 0;%0A%09%09%0A%09%09from = (from %3C 0) ? Math.ceil(from) : Math.floor(from);%0A%09%09if (from %3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.