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
6a5c7a0725b6158bfb60af86cad0ad327195d2a9
Add FormData stub
elm-io-ports.js
elm-io-ports.js
/* Implementation from: https://github.com/laszlopandy/elm-console/blob/master/elm-io.sh */ module.exports = "(function(){\n" + " window = {Date: Date, addEventListener: function() {}, removeEventListener: function() {}};\n" + " if (typeof XMLHttpRequest === \"undefined\") { XMLHttpRequest = function() { re...
JavaScript
0
@@ -403,24 +403,225 @@ ; %7D; %7D%5Cn%22 +%0A + %22 if (typeof FormData === %5C%22undefined%5C%22) %7B FormData = function () %7B this._data = %5B%5D; %7D; FormData.prototype.append = function () %7B this._data.push(Array.prototype.slice.call(arguments)); %7D; %7D%5Cn%22 +%0A %22 if (t
fb928f897b5721124b8b9b15c9d0f280c4356fbb
add on event, like ajax
modules/recognizer/node_helper.js
modules/recognizer/node_helper.js
var NodeHelper = require("node_helper"); const exec = require('child_process').exec; const path = require('path'); const request = require('request'); const fs = require('fs'); const FormData = require('form-data'); module.exports = NodeHelper.create({ socketNotificationReceived: function(notification) { if (no...
JavaScript
0
@@ -777,24 +777,16 @@ + thingy -.results )%0A %7D%0A @@ -1296,24 +1296,94 @@ , body) %7B%0A + %7D).on('response', function(response) %7B%0A console.log(response);%0A var js @@ -1402,17 +1402,19 @@ rse( -body +response );%0A - @@ -1432,41 +1432,21 @@ og(j -son);%0A return j +o son...
43bc532cdae0520048d338c3223b4ddd52dd9297
remove fast-click
pet-projects/xylo-stars/js/main.js
pet-projects/xylo-stars/js/main.js
$(function() { FastClick.attach(document.body); // $.fn.checkPosition = function() { // var top = this[0].getBoundingClientRect().top; // var left = this[0].getBoundingClientRect().left; // var right = this[0].getBoundingClientRect().right; // var bottom = this[0].getBoundingCl...
JavaScript
0.000001
@@ -12,16 +12,19 @@ ) %7B%0A%0A + // FastCli @@ -1923,16 +1923,79 @@ mentSide +,%0A 'transform-rotate': getRandomInt(10, 360) + 'deg' %0A
b74e1a19e2022ffbcc72ad53cd0662430f2f2bac
Delete also Pipes connected to the element deleted
src/reducers/workspace/addRemoveElementReducer.js
src/reducers/workspace/addRemoveElementReducer.js
import { Brick as BrickDefaults, Primitive as PrimitiveDefaults } from '../../components/constants' import { BRICK, SELECTABLE_PIPE, PRIMITIVE } from '../../utils/componentsEnum' import { nextId } from './workspaceReducerUtils' export const appendToInner = (workspace, element) => { const mainBrickId = wo...
JavaScript
0
@@ -1789,16 +1789,130 @@ -if +const element = entities%5Bkey%5D%0A%0A // Skip if key is the elementId or is a pipe connected to this elementId%0A if(! (key -! += = el @@ -1910,32 +1910,79 @@ key == elementId + %7C%7C pipeConnectedToElement(element, elementId)) )%0A newEntit @@ -1993,28 +1993,22 @@...
ac417b1cf5be82d6e29dd82c65d5ae4b06572aed
remove incorrect session
materials/2-bmp085-n2/device.js
materials/2-bmp085-n2/device.js
var config = require('./config') , nitrogen = require('nitrogen') , BMP085Device = require('nitrogen-bmp085'); // The nitrogen-bmp085 module wraps the bmp085 module into a Nitrogen device that emits messages. var bmp085 = new BMP085Device({ name: 'BMP085 Device', nickname: 'bmp085', api_key: '/* 1. Ad...
JavaScript
0.000022
@@ -25,17 +25,16 @@ config') - %0A ,%09nit @@ -749,17 +749,8 @@ ure( -session, func @@ -922,10 +922,9 @@ %09%7D, -30 +5 * 1
c43f441b86ec0c094d7e33819d1cc7701c4f819a
Remove an extra console.log in bin/cucumber.js that was causing the build to fail.
bin/cucumber.js
bin/cucumber.js
#!/usr/bin/env node var Cucumber = require('../lib/cucumber'); var cli = Cucumber.Cli(process.argv); cli.run(function(succeeded) { var code = succeeded ? 0 : 1; process.on('exit', function() { console.log("exiting, succeeded: " + succeeded + " code: " + code); process.exit(code); }); ...
JavaScript
0
@@ -202,84 +202,8 @@ ) %7B%0A - console.log(%22exiting, succeeded: %22 + succeeded + %22 code: %22 + code);%0A
9025ec48a8a52a3923bcceabec8aea89db6ed1f7
fix a bug after opensourcing
bin/gensokyo.js
bin/gensokyo.js
#! /usr/bin/env node /** * XadillaX created at 2014-10-09 14:23 * * Copyright (c) 2014 Huaban.com, all rights * reserved. */ var path = require("path"); var opts = require("nomnom").script("gensokyo").option("action", { position: 0, callback: function(val) { return (val === "new") ? undefined : "Yo...
JavaScript
0.000004
@@ -2463,50 +2463,8 @@ tall - --registry=http://registry.npm.huaban.org %22, %7B
431b396015c672faa12473c6ab7a5ac971ce3158
Remove duplicate case
src/__tests__/recaptcha-wrapper.spec.js
src/__tests__/recaptcha-wrapper.spec.js
import recaptcha, { createRecaptcha } from '../recaptcha-wrapper' const WIDGET_ID = 'widgetId' const recaptchaMock = { render: jest.fn(() => WIDGET_ID), reset: jest.fn(), execute: jest.fn() } describe('recaptcha', () => { describe('#createRecaptcha', () => { let ins beforeEach(() => { ins = cre...
JavaScript
0.000006
@@ -396,39 +396,39 @@ escribe('When Re -captcha +CAPTCHA not loaded', () @@ -446,24 +446,30 @@ it('Throw + error ', () =%3E %7B%0A @@ -589,39 +589,39 @@ escribe('When Re -captcha +CAPTCHA loaded', () =%3E @@ -643,16 +643,22 @@ ot throw + error ', () =%3E @@ -694,32 +694,33 @@ (recaptchaMock)%0A +%0A ...
6364c13cb6b690afac4fdd5c438e719f1e8498c1
bump ??? distribution dist/snuggsi.min.es.js
dist/snuggsi.min.es.js
dist/snuggsi.min.es.js
const HTMLElement=(e=>{function t(){}return t.prototype=window.HTMLElement.prototype,t})();class TokenList{constructor(e){const t=e=>/{(\w+|#)}/.test(e.textContent)&&(e.text=e.textContent).match(/[^{]+(?=})/g).map(t=>(this[t]||(this[t]=[])).push(e)),n=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHO...
JavaScript
0.000007
@@ -486,39 +486,8 @@ %5Bt%5D) -,n=e=%3E(e.textContent=e.text)&&e ;for @@ -491,17 +491,17 @@ for(let -s +n in this @@ -510,24 +510,51 @@ his%5B -s +n %5D.map( -n +e=%3E(e.textContent=e.text)&&e ).map(t( s))%7D @@ -549,17 +549,17 @@ ).map(t( -s +n ))%7D%7D(e=%3E
0b797aa59d6f7687d45a8eb8441451d39e6efdcf
add actions for deleting chat messages (by id, user, all)
src/actions/ModerationActionCreators.js
src/actions/ModerationActionCreators.js
import { post } from '../utils/Request'; import { djSelector } from '../selectors/boothSelectors'; import { tokenSelector } from '../selectors/userSelectors'; import { SKIP_DJ_START, SKIP_DJ_COMPLETE } from '../constants/actionTypes/moderation'; export function skipCurrentDJ(reason = '') { return (dispatch, getSt...
JavaScript
0
@@ -1,16 +1,21 @@ import %7B + del, post %7D @@ -39,16 +39,16 @@ quest';%0A - import %7B @@ -248,16 +248,114 @@ tion';%0A%0A +import %7B%0A removeMessage, removeMessagesByUser, removeAllMessages%0A%7D from './ChatActionCreators';%0A%0A export f @@ -924,16 +924,16 @@ error,%0A - @@ -964,8 +964,1129 ...
7e455447b5590c8716424cc38828c69a60b41941
verify method
src/algorithms/RsaHashedKeyAlgorithm.js
src/algorithms/RsaHashedKeyAlgorithm.js
/** * Package dependencies */ const RSA = require('node-rsa') const crypto = require('crypto') /** * Local dependencies */ const {buf2ab} = require('../encodings') const CryptoKey = require('../CryptoKey') const CryptoKeyPair = require('../CryptoKeyPair') const KeyAlgorithm = require('./KeyAlgorithm') const RsaKey...
JavaScript
0.000002
@@ -134,16 +134,23 @@ %7Bbuf2ab +,ab2buf %7D = requ @@ -1405,25 +1405,107 @@ * @param %7B -%7D +CryptoKey%7D key%0A * @param %7BBufferSource%7D signature%0A * @param %7BBufferSource%7D data %0A *%0A * @ @@ -1505,32 +1505,39 @@ %0A * @returns %7B +Boolean %7D%0A */%0A verify @@ -1538,31 +1538,348 @...
64c96a35f75aed9c062a5a6bac177d7f32a4fe21
Remove query from pagename
get-list/Special-Search-Pagename.js
get-list/Special-Search-Pagename.js
javascript: (function() { var defaultadd = "$1\\n"; var add = prompt('格式化列表:\n$1, 顯示為\nA, B,\n\n*[[$1]]\\n 顯示為\n*[[A]]\n*[[B]]', defaultadd); if (add === null) { return; } add = add.replace(/\\n/g, "<br>"); var prefix = (mw.config.get('wgServer') + mw.config.get('wgArticlePath')).replace(/^\/\//, "").replac...
JavaScript
0.000001
@@ -447,16 +447,58 @@ x)%5B1%5D);%0A +%09%09page = page.replace(/%5C?.+$/, '', page);%0A %09%09text +
42ada2bab3a9b5b22ae321e3a0350fb5e80b451e
Add error callback to geoloc
src/app/modules/home/home.controller.js
src/app/modules/home/home.controller.js
class HomeCtrl { constructor(AppConstants, NetworkRequests, $localStorage) { 'ngInject'; this._NetworkRequests = NetworkRequests; this._storage = $localStorage; this.appName = AppConstants.appName; // Detect recommended browsers let isChrome = /Chrome/.test(navigat...
JavaScript
0
@@ -70,16 +70,26 @@ lStorage +, $timeout ) %7B%0A @@ -1528,32 +1528,144 @@ %7D);%0A + %7D, (err) =%3E %7B%0A // If error it will use default node%0A console.log(err)%0A %7D);%0A @@ -1708,9 +1708,8 @@ omeCtrl; -%0A
e4c62929a99d33f6c77261ca0e6cbd0d027bdaf9
Fix null callback for native notifications. Closes #103.
src/app/notification/native_provider.js
src/app/notification/native_provider.js
const { ipcMain } = require('electron'); const windowManager = require('../ui/window_manager'); class NativeNotificationProvider { constructor() { this.callbacks = new Map(); ipcMain.on('__displayNotificationCallback', (event, callback_info) => { callback = this.callbacks.get(callback_i...
JavaScript
0
@@ -265,32 +265,38 @@ %3E %7B%0A +const callback = this. @@ -314,35 +314,32 @@ et(callback_info -.id );%0A c @@ -396,19 +396,16 @@ ack_info -.id );%0A
710159d4f725d801d76000112c502df2977d0327
remove a *
bot/advisors.js
bot/advisors.js
const fetch = require('./fetch'); const process = require('process'); const _ = require('lodash'); class Advisors { constructor() { this.data = null; this.lastFetch = null; this.fetchActivity = fetch.curryType('Activity'); } init(controller, bot) { this.getData(true); ...
JavaScript
0.000026
@@ -3122,20 +3122,37 @@ nknown') -+'*' + %0A %7D%5D,%0A
46d047792d4837fa74e952d6841218faa9cfc03e
improve onRemove
bouncemarker.js
bouncemarker.js
/** * Copyright (C) 2013 Maxime Hadjinlian <maxime.hadjinlian@gmail.com> * 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...
JavaScript
0
@@ -2367,24 +2367,44 @@ %7D%0A%0A + self._animationId = L.Util.requ @@ -6643,41 +6643,227 @@ -clearInterval(this._interval +// We may have modified the marker; so we need to place it where it%0A // belongs so next time its coordinates are not changed.%0A this.setLatLng(this._origLatlng);%0A ...
09e92cedfc4cd084a8a1e364998a6fe4f0daa325
Update to latest JBDS snapshot
browser/main.js
browser/main.js
'use strict'; import angular from 'angular'; import uiRouter from 'angular-ui-router'; import base64 from 'angular-base64'; import acctCtrl from './pages/account/controller'; import confCtrl from './pages/confirm/controller'; import instCtrl from './pages/install/controller'; import startCtrl from './pages/start/cont...
JavaScript
0
@@ -4636,21 +4636,21 @@ 0151 -122-1948-B143 +203-0439-B156 -ins
98cd41ffc67d8da78ff1ad088ede2d0f4e82cab7
Remove debug marker from the map
src/components/LeafletMap/LeafletMap.js
src/components/LeafletMap/LeafletMap.js
import React from 'react' import Leaflet from 'leaflet' import { Map, WMSTileLayer, TileLayer, Marker, Popup, ZoomControl, ScaleControl } from 'react-leaflet' require('leaflet/dist/leaflet.css') Leaflet.Icon.Default.imagePath = '//cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0/images/' const LeafletMap = ({ mapPropert...
JavaScript
0.000001
@@ -2320,16 +2320,19 @@ +%7B/* %3CMarker @@ -2483,16 +2483,19 @@ /Marker%3E +*/%7D %0A%0A
f23a5d2e990c79bda99d346fc4662996b0c2a0e1
Set products state with every style update
src/components/VehicleResults/Result.js
src/components/VehicleResults/Result.js
import React, { Component, PropTypes } from 'react'; import cx from 'classnames'; import VehicleStore from '../../stores/VehicleStore'; import s from './Result.scss'; import withStyles from '../../decorators/withStyles'; import PartResults from '../PartResults'; @withStyles(s) class Result extends Component { static...
JavaScript
0
@@ -936,29 +936,8 @@ %09%09%7D%0A -%09%09%09%09console.log(ft);%0A %09%09%09%09 @@ -1226,38 +1226,11 @@ gth -!== this.state.products.length +%3E 0 ) %7B%0A @@ -1317,17 +1317,16 @@ ault();%0A -%0A %09%09Vehicl
498013ccd5ed28efe47fafd7680a765373239139
comment cleanup
src/components/form/RadioButtonGroup.js
src/components/form/RadioButtonGroup.js
// dependencies // import React from 'react'; import uniqueId from 'lodash/uniqueId'; import classnames from 'classnames'; /** * The RadioButtonGroup component */ class RadioButtonGroup extends React.Component { /** * Construct the component instance * @param {Object} props The component props */...
JavaScript
0
@@ -2324,16 +2324,81 @@ props;%0A%0A + // render the label element for the component%0A //%0A @@ -2420,24 +2420,24 @@ ent = label%0A - @@ -2696,16 +2696,96 @@ null;%0A%0A + // render the set of radio button elements for the component%0A //%0A @@ -3307,24...
46adee5bf4705577689e1539f3457dad52b76e45
Update common.js
07-notifications/code/public/js/common.js
07-notifications/code/public/js/common.js
const serverUrl = 'http://localhost:3000/'; function apiClient(url, options) { options = options || {}; if (!('fetch' in window)) { // Real fetch polyfill: https://github.com/github/fetch return new Promise( (resolve, reject) => { let request = new XMLHttpRequest(); ...
JavaScript
0.000001
@@ -4283,96 +4283,56 @@ = %22 -BGUjD5uW7jQs1YXTppItASnTCJvtIkjxvRJYqq_QKusQLsVib7ESQhyWcSXnxp0YtHjeiBB30pUC0HJrGFcCRSQ%22 +Reemplazar por la public key del paso anterior%22; ;%0Afu
c53875278738c9ccdfedd735605e06775d5b2924
Store last connected client count interval
util/WebsocketServer.js
util/WebsocketServer.js
const socketIO = require("socket.io"); function WebsocketServer(app, httpServer) { var server = socketIO(httpServer); console.log("Websocket server attached to HTTP server."); let obj = { server: server, connectedClients: 0, setup: function() { var a = this; ...
JavaScript
0
@@ -1004,16 +1004,109 @@ Clients) + %7B%0A this.lastConnectedClientBroadcastCount = connectedClients;%0A this.se @@ -1131,24 +1131,38 @@ roadcast();%0A + %7D%0A %7D%0A
f8b4638d44ef1903486d48b4ec4ca309af61c1e4
Update server.js
src/api/server.js
src/api/server.js
'use strict'; const koa = require('koa'); const router = require('./router'); const bodyParser = require('koa-body'); const compress = require('koa-compress'); const responseTime = require('koa-response-time'); const kcors = require('kcors'); const config = require('../config/config').globalConfig; const app = koa();...
JavaScript
0.000001
@@ -374,16 +374,97 @@ e(kcors( +Object.assign(%7B%7D, %7Bcredentials: true%7D, config.server ? config.server.cors : null) ));%0Aapp.
6ad67987cd95ca629ba1ade64628dc80aef76f31
Comment out isomorphic fetch because of error message
client/app/lib/Form/actions/submitAjaxForm.js
client/app/lib/Form/actions/submitAjaxForm.js
const submitAjaxFormRequest = function(formObjectName) { return { type: 'SUBMIT_AJAX_FORM_REQUEST', formObjectName } } const submitAjaxFormFailure = function(error, formObjectName) { return { type: 'SUBMIT_AJAX_FORM_FAILURE', error, formObjectName } } const submitAjaxFormSuccess = function(r...
JavaScript
0
@@ -629,24 +629,26 @@ Name))%0A%0A +// const fetch
b675cb76427a1c4a60b35758f4100b2eb47f0bf4
fix break detail nav
App/Containers/BreakDetailScreen.js
App/Containers/BreakDetailScreen.js
import React from 'react' import { ScrollView, View, Text, Image, TouchableOpacity } from 'react-native' import PurpleGradient from '../Components/PurpleGradient' import { NavigationActions } from 'react-navigation' import { connect } from 'react-redux' // Add Actions - replace 'Your' with whatever your reducer is call...
JavaScript
0
@@ -546,19 +546,9 @@ bBar -: %7B%0A l +L abel @@ -569,11 +569,15 @@ - i +tabBarI con: @@ -596,18 +596,16 @@ %7D) =%3E (%0A - %3CI @@ -695,17 +695,9 @@ - )%0A %7D +) %0A %7D
3542aa6f70039665e118de4a9848e897bb5397f4
Make youtube-dl exec buffer unlimited
downloader.js
downloader.js
const fs = require('fs'); const path = require('path'); const progress = require('progress-stream'); const Promise = require('yaku/lib/yaku.core'); const shortId = require('shortid'); const youtubeDl = require('youtube-dl'); // Default download options const defaultOptions = { directory: path.join(__dirname, 'down...
JavaScript
0.000137
@@ -1140,32 +1140,50 @@ er: -1024 * (1024 * 2) // 2MB +Infinity // Unlimited stdout/stderr buffer %0A @@ -5059,32 +5059,50 @@ er: -1024 * (1024 * 2) // 2MB +Infinity // Unlimited stdout/stderr buffer %0A
c06e4488dbdec526ddd94a16d0899331cebc21c9
increase coverage for test reducer
client/modules/tasks/__test__/reducer.test.js
client/modules/tasks/__test__/reducer.test.js
// @flow import { reducer, initialState } from '../reducer' import { CREATE_TASK, REMOVE_TASK } from '../actionTypes' describe('tasks reducer', () => { it('returns `initialState` on initial call', () => { expect(reducer(undefined, {})).toEqual(initialState) }) it('adds `action.payload` to `list` on `CREATE_...
JavaScript
0
@@ -256,32 +256,98 @@ ialState)%0A %7D)%0A%0A + describe('CREATE_TASK', () =%3E %7B%0A const type = CREATE_TASK%0A%0A it('adds %60acti @@ -371,25 +371,8 @@ ist%60 - on %60CREATE_TASK%60 ', ( @@ -370,32 +370,34 @@ list%60', () =%3E %7B%0A + const state @@ -407,24 +407,26 @@ list: %5B%5D %7D%0A + ...
d1696d5bd80e2050aeab2943ccfefe52e2b0b37f
Add some extra logging
data/context.js
data/context.js
// // Registration Class // function Context() { } exports.build = function(req) { var c = new Context(); c.registrationId = req.tcapi_param('registration'); c.activityId = req.tcapi_param('activityId'); c.stateId = req.tcapi_param('stateId'); c.statementId = req.tcapi_param('statementId'...
JavaScript
0.000001
@@ -104,16 +104,132 @@ text();%0A +%0A console.log(%22* QUERY *%22);%0A console.log(req.query);%0A%0A console.log(%22* RAW BODY *%22);%0A console.log(req.rawBody);%0A%0A c.regi
b46b6eecbf037cfab651ab60f60197ba766e9755
Add radioClass to dunder set
example/dunder.js
example/dunder.js
var ElementProxy = { get: function (tgt, key, rcv) { switch(key) { case '..': return __(tgt.parentNode); case 'parent': return function (sel) { for(node = tgt.parentNode; node && !node.matches(sel); node = node.parentNode) {} return nod...
JavaScript
0
@@ -1702,32 +1702,271 @@ ;%0A %7D%0A + case 'radioClass':%0A return function (cls, sel) %7B%0A Array.apply(null, tgt).forEach(function (el) %7B%0A el.classList%5Bel.matches(sel) ? 'add' : 'remove'%5D(cls);%0A %7D)%0A %7D%0A ...
8c1e9a36a54bac5c722b6ae2211619098a27dc13
allow spaces/tabs before the closing ***/
mstring.js
mstring.js
/* Copyright (c) 2012 Richard Rodger */ var errmsg = "mstring: required format is function (){/*** ... ***/}, this is invalid: " module.exports = function(f){ if( !_.isFunction(f) ) { throw new Error(errmsg+f) } var fs = f.toString() var m = fs.match(/^function\s*\(\)\s*\{\s*\/\*\*\*\n([\s\S]*)\n\*\*\*\...
JavaScript
0
@@ -239,16 +239,17 @@ String() +; %0A var m @@ -296,16 +296,17 @@ %5C*%5C*%5C*%5Cn ++ (%5B%5Cs%5CS%5D* @@ -309,16 +309,19 @@ %5CS%5D*)%5Cn%5C +s*%5C *%5C*%5C*%5C/%5C @@ -327,17 +327,17 @@ %5Cs*%5C%7D$/) - +; %0A if( m @@ -376,16 +376,17 @@ urn m%5B1%5D +; %0A %7D%0A e @@ -420,16 +420,16 @@ f);%0A%7D%0A%...
7b2d49049a9bd6d549d52071c3626bb9090ce8f4
add note
Algorithms/JS/trees/postOrderTraversal.js
Algorithms/JS/trees/postOrderTraversal.js
// How to perform postOrder traversal // 23 // / \ // 16 45 // / \ / \ // 3 22 37 99 // Postorder traversal: // 3 22 16 37 99 45 23 // A postorder traversal visits all of the child nodes of the left subtree up to the root node, // and then visits all of the child nodes of the right subtree up to t...
JavaScript
0
@@ -32,16 +32,38 @@ versal%0A%0A +// post order: L R P%0A%0A %0A//
fc31e5688639d761da54df3f38fc4233fc101e09
tweak mocha approvals to be a little more fluent
lib/Approvals.js
lib/Approvals.js
var _ = require("underscore"); var osTools = require("./osTools.js"); var defaultConfig = { reporters: ["p4merge", "opendiff", "tortisemerge", "gitdiff"], appendEOL: osTools.isWindows ? true : false, EOL: require('os').EOL }; exports.options = _.defaults({}, defaultConfig); exports.configure = funct...
JavaScript
0
@@ -478,23 +478,16 @@ r) %7B%0D%0A -return require( @@ -550,16 +550,35 @@ dir);%0D%0A + return exports;%0D%0A %7D;%0D%0A%0D%0Aex
5f17320f2ea653c19eda8762bfb321b906a53124
remove debug statement
packages/api-lib/libs/ingest.js
packages/api-lib/libs/ingest.js
const fs = require('fs') const request = require('sync-request') const highland = require('highland') const isUrl = require('is-url') const path = require('path') // this should be passed in as a backend parameter const backend = require('./es') function readFile(filename) { if (isUrl(filename)) { const data ...
JavaScript
0.000517
@@ -580,24 +580,61 @@ = false) %7B%0A + console.log(%60Reading $%7Bfilename%7D%60)%0A const fnam @@ -836,70 +836,17 @@ %7D%0A -if (nItem %3C 50) %7B%0A yield cat%0A %7D else %7B%0A return true%0A %7D +yield cat %0A l
e6067e31273051cd682426d3351d55f351b426a4
Fix chart color for Free Mobile.
web/js/charts.js
web/js/charts.js
// Load the Visualization API. google.load('visualization', '1', { 'packages' : [ 'corechart' ] }); var CHART_OPTIONS = { width : 800, height : 350, pieSliceText: 'none', legend: 'labeled', chartArea : { left : (940 - 550) / 2, top : 15, width : 550, height : "325...
JavaScript
0
@@ -4851,32 +4851,43 @@ s = %5B %22#FF6600%22, + %22#D2343A%22, %22#CD1E25%22, %22#66 @@ -4891,27 +4891,16 @@ #660F12%22 -, %22#D2343A%22 %5D;%0A
29627450cfd21dca609e840c54f973223448bade
bump version
build/progress.min.js
build/progress.min.js
/*! Progress 0.0.5 | (c) 2015 Pedro Rogério | MIT License */ !function(a,b){"use strict";"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?module.exports=b():a.Progress=b()}(this,function(){"use strict";function a(a){var b=j.createEvent("HTMLEvents");b.initEvent(a,!0,!1),i.dispatchEvent(b)}fun...
JavaScript
0.000001
@@ -10,17 +10,17 @@ ess 0.0. -5 +6 %7C (c) 2 @@ -24,10 +24,10 @@ ) 20 +2 1 -5 Ped @@ -54,16 +54,17 @@ ense */%0A +%0A !functio @@ -69,11 +69,11 @@ ion( -a,b +e,t )%7B%22u @@ -131,17 +131,17 @@ fine(%5B%5D, -b +t ):%22objec @@ -178,13 +178,13 @@ rts= -b():a +t():e .Pro @@ -189,17 +189,17 @@ rogress= -b +...
a59e59e17b9be10f47d2c6834cd997a69bc2dd22
fix eslint error
src/__tests__/github_issues/181-test.js
src/__tests__/github_issues/181-test.js
/* @flow */ import { schemaComposer, InputTypeComposer } from 'graphql-compose'; import { processFilterOperators, OPERATORS_FIELDNAME, } from '../../resolvers/helpers/filterOperators'; let itc: InputTypeComposer<any>; beforeEach(() => { schemaComposer.clear(); itc = schemaComposer.createInputTC({ name: '...
JavaScript
0.000009
@@ -33,27 +33,8 @@ oser -, InputTypeComposer %7D f @@ -169,42 +169,8 @@ ';%0A%0A -let itc: InputTypeComposer%3Cany%3E;%0A%0A befo @@ -215,14 +215,8 @@ );%0A - itc = sch
ee7dc6ec20282c901229f243d13a5cb754f67462
Add width to photo
App/Containers/AboutScreen.js
App/Containers/AboutScreen.js
import React from 'react' import { ScrollView, TouchableOpacity, Image, View, Text, Linking } from 'react-native' import LinearGradient from 'react-native-linear-gradient' import RoundedButton from '../Components/RoundedButton' import PurpleGradient from '../Components/PurpleGradient' import { Images } from...
JavaScript
0
@@ -306,16 +306,25 @@ %7B Images +, Metrics %7D from @@ -1899,16 +1899,53 @@ cePhoto%7D + style=%7B%7Bwidth: Metrics.screenWidth%7D%7D %3E%0A
7b119a282e3db03ad2d8096d9f89e625a2402ccf
Handle empty image URL in last.fm response.
www/app/coverart/lastfm.js
www/app/coverart/lastfm.js
;(function(module) { 'use strict'; var sizes = { small: 34, medium: 64, large: 126, extralarge: 252, mega: undefined }; var mapping = { 'Album': function(album) { if (album.musicbrainz_id) { return {method: 'album.getInfo', mbid: album.musicbrainz_id}; } else if (al...
JavaScript
0
@@ -1879,16 +1879,136 @@ %7D;%0A %7D%0A%0A + function filterImage(image) %7B%0A return image%5B'#text'%5D; // last.fm return empty URIs for podcasts, for example%0A %7D%0A%0A /* @ng @@ -2068,16 +2068,22 @@ n($http, + $log, $q) %7B%0A%0A @@ -2488,32 +2488,52 @@ ata.album.image. +filter(filterImage). map(...
44fa14f77545e9bfc87cad90f6c7c26d0bbeb90c
Allow to use substanceGlobals in a worker.
util/substanceGlobals.js
util/substanceGlobals.js
import _isDefined from './_isDefined' /** A place to store global variables. */ const _global = (typeof global !== 'undefined') ? global : window const substanceGlobals = _isDefined(_global.Substance) ? _global.Substance : _global.Substance = {} export default substanceGlobals
JavaScript
0
@@ -1,8 +1,26 @@ +/* global self */%0A import _ @@ -157,14 +157,99 @@ l : -window +(typeof window !== 'undefined') ? window : (typeof self !== 'undefined') ? self : undefined %0Acon
8af1efc4f42a9e6996bea1785e322e9e8273226e
add description
Algorithms/JS/trees/breadthFirstSearch.js
Algorithms/JS/trees/breadthFirstSearch.js
breadthFirstSearch.js
JavaScript
0.000004
@@ -1,22 +1,427 @@ -b +// Suppose you%E2%80%99d like to traverse through a family tree in JavaScript, printing each generation of children on a single line.%0A%0A// B readth -F +-f irst -Search.js + search (BFS) is an algorithm for traversing or searching tree or graph data structures.%0A// It starts at the tree root...
c79266bb91e5b62dde8c67c59e26a5e18425e946
update ButtonCheckbox
src/ButtonCheckbox/ButtonCheckbox.js
src/ButtonCheckbox/ButtonCheckbox.js
/** * @file ButtonCheckbox component * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import RaisedButton from '../RaisedButton'; import Theme from '../Theme'; import Util from '../_vendors/Util';...
JavaScript
0
@@ -531,64 +531,8 @@ %7D;%0A%0A - this.touchTapHandler = ::this.touchTapHandler;%0A%0A @@ -553,18 +553,24 @@ pHandler -() + = () =%3E %7B%0A @@ -766,24 +766,25 @@ %7D);%0A %7D +; %0A%0A compon
7e0715c9651bdc0a6926b1fa3fbff942fa1077e6
Fix issue with button click passing through to underlying link
openure.js
openure.js
Openure = { allViews: [], currentView: "", listener: "", trackedViewsIDs: [], previousView: null, stackSize: 0, maxStackSize: 30, findViewsInArray: function(array) { //for x in array.len.... //this.findViewsInView(region.currentView); }, registerView: function(view) { if (view.cid && _.l...
JavaScript
0
@@ -5639,24 +5639,64 @@ tDefault();%0A + e.stopImmediatePropagation();%0A th
f486731c5b7cf3982f6cb914967d21429db9349b
Add xsrf-token to delete as well
contrib/src/frontend/actions/UploadActions.js
contrib/src/frontend/actions/UploadActions.js
/* global XMLHttpRequest FormData */ import Credentials from '../constants/Credentials' import * as types from '../constants/ActionTypes' import generateId from '../utils/generateId' import getCookie from '../utils/getCookie' export const startUpload = (id, file) => ({ type: types.UPLOAD_STARTED, payload: { id, fi...
JavaScript
0
@@ -3496,32 +3496,96 @@ accept', '*/*')%0A + xhr.setRequestHeader('X-CSRFToken', getCookie('csrftoken'))%0A xhr.send()%0A
bd66f37a7d7df0eca02e3758766446f427771f33
Update iam_listusers.js
javascript/example_code/iam/iam_listusers.js
javascript/example_code/iam/iam_listusers.js
/* Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This fi...
JavaScript
0.000001
@@ -1,9 +1,6 @@ / -*%0A +/ Cop @@ -77,26 +77,12 @@ ed.%0A -%0A This file is l +// L icen @@ -105,428 +105,80 @@ ache - License, Version 2.0 (the %22License%22).%0A You may not use this file except in compliance with the License. A copy of%0A the License is located at%0A%0A http://aws.amazon.com/apache2...
deed4d25057bf64b19088aa24c3e1de5eeafaa56
Make navigation through input
src/components.js
src/components.js
import type { Page } from './Page' import type { Command } from './Command' import React from 'react' import ReactDOM from 'react-dom' import marked from 'marked' const Debug = (props) => <pre> {JSON.stringify(props, null, " ")} </pre> const Nav = ({name, platform}: Command) => ( <nav> {name} </nav> ) c...
JavaScript
0.00001
@@ -254,57 +254,193 @@ = (%7B -name, platform%7D: Command) =%3E (%0A %3Cnav%3E%0A %7Bname%7D +history, command: %7Bname%7D%7D) =%3E (%0A %3Cnav%3E%0A %3Cinput%0A type=%22text%22%0A onChange=%7B (%7Btarget: %7Bvalue%7D%7D) =%3E %7B history.push(%7Bpathname: %60/$%7Bvalue%7D%60%7D) %7D %7D%0A defa...
e9dd2454342c2233041e433a8c0be3956f635472
Add lagda extension
packages/core/spec/Dicy_spec.js
packages/core/spec/Dicy_spec.js
/* @flow */ import 'babel-polyfill' import path from 'path' import readdir from 'readdir-enhanced' import childProcess from 'child_process' import { DiCy, File } from '../src/main' import { cloneFixtures, customMatchers } from './helpers' const ASYNC_TIMEOUT = 50000 function doCheck (command: string): Promise<boole...
JavaScript
0
@@ -641,16 +641,22 @@ %7Ctex%7CRnw +%7Clagda )$/i %7D)%0A
6ea892edec8fa928d672d9aef0f97ab38c721bc9
Move remove from localStorage after setting currency
src/javascript/app/pages/user/set_currency.js
src/javascript/app/pages/user/set_currency.js
const BinaryPjax = require('../../base/binary_pjax'); const Client = require('../../base/client'); const Header = require('../../base/header'); const BinarySocket = require('../../base/socket'); const getCurrencyName = require('../../common/currency').getCurrencyName; const isCryptocurren...
JavaScript
0.000001
@@ -718,59 +718,8 @@ ');%0A - localStorage.removeItem('is_new_account');%0A @@ -3337,32 +3337,103 @@ %7D else %7B%0A + localStorage.removeItem('is_new_account');%0A @@ -4739,32 +4739,33 @@ %7D%0A +%0A @@ -5086,154 +5086,...
0cde2c46885c443d0c5759ebfe2ef74b10d509cc
Use siteTitleShort for PWA homescreen display.
gatsby-config.js
gatsby-config.js
const config = require("./data/SiteConfig"); const urljoin = require("url-join"); const regexExcludeRobots = /^(?!\/(dev-404-page|404|offline-plugin-app-shell-fallback|tags|categories)).*$/; module.exports = { pathPrefix: config.pathPrefix, siteMetadata: { siteUrl: urljoin(config.siteUrl, config.pathPrefix), ...
JavaScript
0
@@ -2629,32 +2629,37 @@ config.siteTitle +Short ,%0A descri
c4e4e87dc02fef3e1c2a4c46306659c952bb8a23
clean up and some fixes
www/js/HighchartsWidget.js
www/js/HighchartsWidget.js
define([], function () { function HighchartsWidget() { this.btnSettings = $('<a class="icon fa fa-list-ul pull-right"></a>'); this.btnLegend = null; this.settingsVisible = false; this.renderWidget = function () { if (this.config) { var w_selector = "#wi...
JavaScript
0
@@ -450,19 +450,16 @@ arts) %7B%0A -%0A%0A%0A @@ -745,1534 +745,153 @@ %7D);%0A -%0A /*$(w_selector).highcharts(%7B%0A chart: %7B%0A type: 'line'%0A %7D,%0A title: %7B%0A ...
7d916b16871621c1054ed608cdc56921353aa9b6
Remove log messages from bootstrap.js
plugins/bootstrap/api/bootstrap.js
plugins/bootstrap/api/bootstrap.js
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Initialization code for the Chrome plugins API. // Adds a deviceready listener that initializes the Chrome wrapper. console.log('adding event'); r...
JavaScript
0.000182
@@ -287,37 +287,8 @@ r.%0A%0A -console.log('adding event');%0A requ @@ -352,45 +352,8 @@ ) %7B%0A - console.log('deviceready caught');%0A re
f823f9149cc541aec4ca6a9e4749654825a29c73
Fix for hiding notifications
nailgun/static/js/views/common.js
nailgun/static/js/views/common.js
define( [ 'models', 'text!templates/common/navbar.html', 'text!templates/common/nodes_stats.html', 'text!templates/common/notifications.html', 'text!templates/common/notifications_popover.html', 'text!templates/common/breadcrumb.html' ], function(models, navbarTemplate, nodesStatsTemplate, notif...
JavaScript
0
@@ -4132,32 +4132,84 @@ er')).length) %7B%0A + $('html').off(this.eventNamespace);%0A @@ -4237,16 +4237,16 @@ false;%0A - @@ -4396,76 +4396,255 @@ ible -) %7B%0A if ($(e.target).closest(this.$el).length) %7B%0A + && $(e.target).closest(this.$el).length) ...
551e1942a35e32015da7f201c5d75028c555ccaf
Fix behaviour when we come back from callback
Resources/js/app.js
Resources/js/app.js
YUI().use('event', 'event-focus','event-custom', 'querystring-parse', function(Y) {Y.on("domready", function() { //@todo / bookmark : fix it so when you add first shop, that we don't see // the You have no shops so add one overlay. Basically a timing issue I suspect // of when we chec...
JavaScript
0
@@ -119,720 +119,61 @@ odo -/ bookmark : fix it so when you add first shop, that we don't see%0A// the You have no shops so add one overlay. Basically a timing issue I suspect%0A// of when we check%0A//@todo need to spin down watchers when going for remote auth%0A if(window.locati...
defe80d91aaa6789434a0c7f64467ab27f518446
Fix Initial oauth call logic
options.js
options.js
document.addEventListener('DOMContentLoaded', function() { restore_options(); userRailsOauth(); document.getElementById('myonoffswitch').addEventListener('click', function() { save_options(); }); document.getElementById('TwitterOauth').addEventListener('click', function(event) { event.preventDefault()...
JavaScript
0.000003
@@ -1604,52 +1604,8 @@ o) %7B -%0A var message = JSON.stringify(userInfo); %0A%0A @@ -1657,16 +1657,17 @@ reject) + %7B%0A @@ -1944,16 +1944,17 @@ if + (xml.sta @@ -2445,26 +2445,242 @@ -xml.send(message); +var timer = setInterval(function() %7B%0A if (userInfo%5B'email'%5D != %22...
842f3f6fac73e7c5ff06758ab7f30ccebb354708
fix comment
minitooltip.js
minitooltip.js
/*! MiniTooltip v0.2.7 (github.com/leocamelo/minitooltip) - Licence: MIT */ (function(win, doc) { "use strict"; var body = doc.body; var html = doc.documentElement; var tip = doc.createElement("div"); var style = doc.createElement("style"); var winWidth = html.clientWidth; var globalTheme = hasClass(bo...
JavaScript
0
@@ -4578,17 +4578,17 @@ ck if it -%22 +' s a tool
c4dcdf188197f5c20415a641f3da381512c2512c
add disconnect to pool client
pool.js
pool.js
const _ = require('lodash'); const EventEmitter = require('events').EventEmitter; const BaaSClient = require('./client'); const util = require('util'); const retry = require('retry'); function BaaSPool (options) { EventEmitter.call(this); this._connectionOptions = _.omit(options, ['poo...
JavaScript
0.000001
@@ -1469,16 +1469,117 @@ t);%0A%7D;%0A%0A +BaaSPool.prototype.disconnect = function () %7B%0A this._clients.forEach(c =%3E this._killClient(c));%0A%7D;%0A%0A BaaSPool
a999d697f39ab6a3db4f0b020ef7a6fe91f7ada6
add course filter option for events
lib/Filtering.js
lib/Filtering.js
var Predicates = { string: function(param) { return { merge: function(other) { return other; }, without: function(predicate) { return false; }, get: function() { return param; }, param: function() { return param; }, query: function() { return param; }, equals: function(other) { return param === oth...
JavaScript
0
@@ -2640,32 +2640,56 @@ tPredicates = %7B%0A +%09course: Predicates.id,%0A %09region: Predica
18a9efd6dd111504028a16699c793e4e8af842a6
Reword prefetch error, remove pathname error
packages/curi-react/src/Link.js
packages/curi-react/src/Link.js
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import invariant from 'invariant'; const canNavigate = event => { return ( !event.defaultPrevented && event.button === 0 && !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey) ); }; class Link extends Compone...
JavaScript
0
@@ -1567,216 +1567,8 @@ ) %7B%0A - invariant(%0A !this.props.name %7C%7C (this.props.name && this.context.curi.addons.pathname),%0A 'You cannot use the %22name%22 prop if your curi configuration does not include the pathname addon'%0A );%0A%0A%0A @@ -1772,16 +1772,167 @@ ch addon +. ' +%0A ...
7e6e589f07a7a2bda99a0a448e07a8d2e890c4c3
Use box shape in example
example/game.js
example/game.js
/* global Cervus */ const game = new Cervus.Game({ width: window.innerWidth, height: window.innerHeight, // dom: document.body, // fps: 60 }); // const model = game.model('model.vox'); var vertices = [ -1, 1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1...
JavaScript
0
@@ -193,561 +193,8 @@ );%0A%0A -var vertices = %5B%0A -1, 1, 1,%0A 1, 1, 1,%0A 1, -1, 1,%0A -1, -1, 1,%0A%0A -1, 1, -1,%0A 1, 1, -1,%0A 1, -1, -1,%0A -1, -1, -1,%0A%0A 1, 1, 1,%0A 1, 1, -1,%0A 1, -1, -1,%0A 1, -1, 1,%0A%0A -1, 1, 1,%0A -1, 1, -1,%0A 1, 1, -1,%0A 1, 1, 1,%0A%...
f7936697a341e0e91c63d023dbe3d5a1ad999e52
Fix menu ordering bug
models/single-day-menu-model.js
models/single-day-menu-model.js
const _ = require('lodash') const moment = require('moment') const Item = require('./single-item-model') const StringTable = require('../utils/string-table') const strings = require('../strings/strings') module.exports = class SingleMenu { constructor(menu, {inEnglish}) { this.menu = menu.data thi...
JavaScript
0.000001
@@ -199,16 +199,130 @@ ings')%0A%0A +const priceClassesInOrder = %5B%0A 'Edullisesti',%0A 'Maukkaasti',%0A 'Bistro',%0A 'Makeasti',%0A 'Lis%C3%A4ke',%0A%5D%0A%0A module.e @@ -390,38 +390,8 @@ ) %7B%0A - this.menu = menu.data%0A @@ -457,23 +457,21 @@ his. -message +items = menu. mess @...
a5dbfbb82d82657360c5c793141d183af527c106
Fix UI-doc generation
website/generate-uidocs.js
website/generate-uidocs.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ const reactDocs = require('react-docgen'); const glob = require('glob'); const fs = require('fs'); const babylon = r...
JavaScript
0.000005
@@ -683,16 +683,28 @@ + '/../ +desktop/app/ src/ui/c
bcc5e0f03eba1c684e421000dfb66769531faad6
add format option to getCommitMessage()
helpers/get-commit-message/index.js
helpers/get-commit-message/index.js
"use strict"; const execa = require("execa"); module.exports = getCommitMessage; function getCommitMessage(cwd) { return execa("git", ["show", "--no-patch", "--pretty=%B"], { cwd }).then(result => result.stdout.trim()); }
JavaScript
0.000001
@@ -106,16 +106,31 @@ sage(cwd +, format = %22%25B%22 ) %7B%0A re @@ -139,16 +139,23 @@ rn execa +.stdout (%22git%22, @@ -160,30 +160,21 @@ , %5B%22 -show +log %22, %22- --no-patch%22, %22 +1%22, %60 --pr @@ -182,58 +182,35 @@ tty= -%25B%22%5D, %7B cwd %7D).then(result =%3E result.stdout.trim() +format:$%7Bfo...
80921414ba56cf8e4829dd93af18798e2d598c94
Fix barrier NaN issue
src/javascript/binary/pages/trade/barriers.js
src/javascript/binary/pages/trade/barriers.js
/* * Handles barrier processing and display * * It process `Contract.barriers` and display them if its applicable * for current `Contract.form() */ var Barriers = (function () { 'use strict'; var isBarrierUpdated = false; var display = function (barrierCategory) { var barriers = Contract.bar...
JavaScript
0.000003
@@ -1450,27 +1450,32 @@ var +defaults_ barrier -_def = Defau @@ -1492,19 +1492,121 @@ arrier') - %7C%7C +;%0A var barrier_def = defaults_barrier && !isNaN(defaults_barrier) ? defaults_barrier : barrier @@ -4331,32 +4331,41 @@ var +defaults_ barrier_high = D @@ -4391,19 +439...
9be2f2c0b2ce69c59980d44e0582a227612a4dd4
Abort if first token is not autocompletable (comment, string)
src/ae_console/js/get_current_tokens.js
src/ae_console/js/get_current_tokens.js
define(['ace/ace'], function (ace) { var TokenIterator = ace.require('ace/token_iterator').TokenIterator; var space = /^\s+$/, comma = /^,\s*$/, semicolon = /^;\s*$/, bracketOpen = /^[\(\[\{]$/, bracketClose = /^[\)\]\}]$/, bracketMatching = {'(': ')', ')': '(', '[': '...
JavaScript
0
@@ -182,24 +182,119 @@ = /%5E;%5Cs*$/,%0A + endOfLineComment = /%5E#/,%0A isString = /%5E%5C%22(?:%5C%5C%22%7C%5B%5E%22%5D)*%5C%22$%7C%5E%5C'(?:%5C%5C'%7C%5B%5E'%5D)*%5C'$/,%0A brac @@ -2321,24 +2321,183 @@ urn tokens;%0A + // Abort if the token is not autocompletable.%0A if (endO...
3bf4eccf79d9c9805d0ccd4f5d98c5a06f01e42c
Add `user.requiredDocuments` property
prototype/model/user.js
prototype/model/user.js
'use strict'; var Map = require('es6-map') , db = require('mano').db , User = require('mano-auth/model/user') , DateType = require('dbjs-ext/date-time/date')(db) , StringLine = require('dbjs-ext/string/string-line')(db) , Email = require('dbjs-ext/string/string-line/em...
JavaScript
0.000001
@@ -4057,20 +4057,202 @@ nested: true %7D%0A%7D);%0A +user.define('requiredSubmissions', %7B%0A%09type: db.DocumentASubmission,%0A%09multiple: true,%0A%09value: %5Buser.submissions.documentA, user.submissions.documentB, user.submissions.documentC%5D%0A%7D);%0A
4e9ce9ad7616a76b9f53abb060a8539d23c16d65
Fix bug where messages from other people have min length
native/chat/text-message.react.js
native/chat/text-message.react.js
// @flow import type { ThreadInfo } from 'lib/types/thread-types'; import { threadInfoPropType } from 'lib/types/thread-types'; import type { ChatMessageInfoItemWithHeight } from './message-list.react'; import { chatMessageItemPropType } from '../selectors/chat-selectors'; import type { TooltipItemData } from '../comp...
JavaScript
0
@@ -4604,16 +4604,65 @@ onBlur%7D%0A + componentWrapperStyle=%7BcontainerStyle%7D%0A
20f63eabf29d49c4e97bfa52177370eda08c50cc
Set RU lang for FB js sdk
web/js/social.js
web/js/social.js
// VKontakte with app Id VK.init({apiId: 5103140, onlyWidgets: true}); // Facebook js sdk window.fbAsyncInit = function() { FB.init({ appId : '778342298941480', xfbml : true, version : 'v2.5' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; i...
JavaScript
0
@@ -430,13 +430,13 @@ net/ -en_US +ru_RU /sdk
ccfe59f6ff9bc934b2ac8e5c338c7512909b21cc
check cached business unit on session check
packages/app-extensions/src/login/sagas.js
packages/app-extensions/src/login/sagas.js
import {consoleLogger} from 'tocco-util' import {takeLatest, call, all, put} from 'redux-saga/effects' import notification from '../notification' import * as actions from './actions' export function doRequest(url, options) { return fetch(url, options) .then(resp => resp.json()) .catch(e => { consoleLo...
JavaScript
0
@@ -14,16 +14,23 @@ leLogger +, cache %7D from ' @@ -776,31 +776,39 @@ const -sessionResponse +%7Bsuccess, businessUnit%7D = yield @@ -837,86 +837,248 @@ )%0A -yield put(actions.setLoggedIn(sessionResponse.success))%0A if (sessionResponse. +const cachedPrincipal = cache.getShortTerm('session', 'principal')%...
72850b332af8e68b3d9b072b352f2024fb44ecbb
fix bug : token invalid notification doesn't open popup provider
app/assets/javascripts/controllers/NotificationController.js
app/assets/javascripts/controllers/NotificationController.js
'use strict'; define(["app"], function(app) { app.controller('NotificationController', [ "$scope", "$rootScope", "ArrayUtils", "PopupProvider", "$filter", function($scope, $rootScope, $arrayUtils, $popupProvider, $filter) { $scope.notifications = []; $rootScope.$on('tokenInvalid', function(evt, data) { ...
JavaScript
0
@@ -2423,64 +2423,29 @@ ion. -isError == false && notification.providerName != %22skimbo +type == %22tokenInvalid %22) %7B @@ -2549,64 +2549,27 @@ ion. -isError == false && notification.providerName == %22skimbo +type == %22disconnect %22) %7B
8df3d9e11c8473513d3610e5edf8b4840b08c9f8
fix barrier not showing for higher lower
src/javascript/binary/pages/trade/contract.js
src/javascript/binary/pages/trade/contract.js
/* * Contract object mocks the trading form we have on our website * It parses the contracts json we get from socket.send({contracts_for: 'R_50'}) * and gives back barriers, startDate, durations etc * * * Usage: * * use `Contract.details` to populate this object * * then use * * `Contract.durations()` to ge...
JavaScript
0
@@ -4564,174 +4564,8 @@ %7D%0A%0A - if (barrierCategory && barriers && barriers%5BformName%5D && !barriers%5BformName%5D%5BbarrierCategory%5D ) %7B%0A barriers = %7B%7D;%0A %7D %0A @@ -4576,16 +4576,17 @@ %7D); +%0A %0A%0A @@ -4774,24 +4774,195 @@ Cat...
6d0d0f5c6cb21ace59ea4df157b28908f99d3a28
Update sass cms source files
grunt/sass.js
grunt/sass.js
module.exports = { options: { includePaths: [ 'bower_components/' ], sourcemap: false }, dev: { options: { outputStyle: 'nested', sourceComments: true, sourceMap: true }, files: [{ expand: true, ...
JavaScript
0
@@ -883,32 +883,63 @@ src: %5B%0A + '**/app.scss',%0A
1fd961ed1142e192aa2d740a50383328eba6bc56
Fix whitespace
config.example.js
config.example.js
var config = { servers: [{ name: "Varnish", host: null, port: 6085, user: "varnish_agent_user", pass: "varnish_agent_pass" }], groups: [], update_freq: 2000, max_points: 100, default_log_fetch: 10000, default_log_display: 100, show_bans_page: true, show_manage_server_page: true, show_vcl_page:...
JavaScript
0.999999
@@ -8,17 +8,18 @@ fig = %7B%0A -%09 + servers: @@ -22,18 +22,20 @@ ers: %5B%7B%0A -%09%09 + name: %22V @@ -43,18 +43,20 @@ rnish%22,%0A -%09%09 + host: nu @@ -59,18 +59,20 @@ : null,%0A -%09%09 + port: 60 @@ -75,18 +75,20 @@ : 6085,%0A -%09%09 + user: %22v @@ -111,10 +111,12 @@ r%22,%0A -%0...
ed7bedfd39ccd49e906d383aa2fb27d5cb76bac1
handle no user and no entities
app/components/Tweet.js
app/components/Tweet.js
import React, { Component } from 'react'; export default class Tweet extends Component { returnLinkedText(text, urls = []) { let str = text; urls.reverse().forEach((url) => { str = str.substr(0, url.indices[0]) + `<a href="${url.url}" target="_blank" >${url.display_url}</a>` + str.substr(url.indices[1]...
JavaScript
0.000005
@@ -606,21 +606,23 @@ const %7B + tweet + %7D = this @@ -781,16 +781,30 @@ eet.user + && tweet.user .name%7D%3C/ @@ -875,16 +875,30 @@ eet.user + && tweet.user .screen_ @@ -1135,16 +1135,34 @@ et.text, + tweet.entities && tweet.e @@ -1683,32 +1683,51 @@ %3Ca href=%22 +javascript:void(0); %22 class...
86cc6821a5985afbc47f04df8f77e35dc7824673
move register debug further down
examples/index.js
examples/index.js
/*jshint esversion:6*/ 'use strict'; var Application = require('..').Application; //config here is a gkeypath Wrapper instance var config = Application.loadConfig({}, true); var app = new Application({config}); //use ioc app.register(require('debug')('application-core'), 'debug'); app.on('run.post', function(){ ...
JavaScript
0
@@ -217,16 +217,53 @@ use ioc%0A +%0A%0Aapp.on('run.post', function()%7B%0A app.regi @@ -318,40 +318,8 @@ g'); -%0A%0Aapp.on('run.post', function()%7B %0A
9992a4153cc0dfa43215669273e40fc1687d8f23
Add flash selector to local header
test/functional/cypress/selectors/local-header.js
test/functional/cypress/selectors/local-header.js
module.exports = () => { const localHeaderSelector = '[data-auto-id="localHeader"]' return { heading: `${localHeaderSelector} h1.c-local-header__heading`, headingAfter: `${localHeaderSelector} p.c-local-header__heading-after`, badge: (number) => `${localHeaderSelector} span.c-badge:nth-child(${number})`...
JavaScript
0
@@ -572,14 +572,39 @@ ils%22%5D%60,%0A + flash: '.c-message',%0A %7D%0A%7D%0A
c7175f5f439a5bafe2dabec91f049c016e4b5958
Delete code that repositioned window on last message.
zephyr/static/js/hotkey.js
zephyr/static/js/hotkey.js
/*global process_goto_hotkey: false, process_compose_hotkey: false, process_key_in_input: false */ // We don't generally treat these as global. // Tell JSLint they are, to break the mutual recursion. var pressed_keys = {}; function num_pressed_keys() { var size = 0, key; for (key in pressed...
JavaScript
0
@@ -1040,415 +1040,8 @@ %7D%0A - if ((next_zephyr.length === 0) && (code === 40)) %7B%0A // At the last zephyr, scroll to the bottom so we have%0A // lots of nice whitespace for new zephyrs coming in.%0A //%0A // FIXME: this doesn't work for End because get_last_vis...
a27ce0c43a7f59dab5118545ee8483eef4cd3513
remove empty line.
example/main.js
example/main.js
import "babel-core/polyfill"; import React from "react"; import Recaptcha from "../src"; // specifying your onload callback function let callback = () => { console.log('Done!!!!'); }; let verifyCallback = (response) => { console.log(response); }; let App = React.createClass({ render() { return ( <di...
JavaScript
0.00157
@@ -247,17 +247,16 @@ e);%0A%7D;%0A%0A -%0A let App
e7112d6b515f8309a911e0b42151df5c9961d4ce
add docs
lib/Installer.js
lib/Installer.js
/** * Module dependencies. */ var Emitter = require('events').EventEmitter , dirname = require('path').dirname , basename = require('path').basename , extname = require('path').extname , mkdir = require('mkdirp').mkdirp , request = require('superagent') , debug = require('debug')('component:installer') ...
JavaScript
0.000001
@@ -1128,16 +1128,118 @@ n';%0A%7D;%0A%0A +/**%0A * Get component.json and callback %60fn(err, obj)%60.%0A *%0A * @param %7BFunction%7D fn%0A * @api public%0A */%0A%0A Installe
ecfef7abbab160585f147387904b67d6f014d8d7
fix transition animation when going to next post
addons/website_blog/static/src/js/website_blog.js
addons/website_blog/static/src/js/website_blog.js
odoo.define('website_blog.website_blog', function (require) { 'use strict'; var publicWidget = require('web.public.widget'); publicWidget.registry.websiteBlog = publicWidget.Widget.extend({ selector: '.website_blog', events: { 'click #o_wblog_next_container': '_onNextBlogClick', 'click #o_wblo...
JavaScript
0.000005
@@ -3639,20 +3639,19 @@ -var +const $main -Nav = $ @@ -3668,14 +3668,12 @@ p %3E -header +main ');%0A @@ -3699,44 +3699,58 @@ main -Nav.height() + $mainNav.offset().top +.offset().top + parseInt($main.css('padding-top')) ;%0A%0A
c985e68c2454510cfc64c51af08a9a2bcc515a21
fix initialization using nonexistent 'has' method
lib/Models/initialization.js
lib/Models/initialization.js
const { default: PQueue } = require('p-queue'); const Guild = require('./Guild'); const Channel = require('./Channel'); const loaded = { guilds: false, channels: false }; const createQueue = () => new PQueue({ concurrency: 5, autoStart: false, }); const addGuilds = async bot => { const que...
JavaScript
0.000048
@@ -1274,19 +1274,20 @@ t Guild. -has +find (guild)) @@ -1764,11 +1764,12 @@ nel. -has +find (cha
79284e2e7862daffad0034375f46ec74dd220792
Bump to version 0.0.6
package.js
package.js
Package.describe({ name: 'cfs:micro-queue', version: '0.0.5', summary: 'Micro-queue provides a small, fast queue/list built for Power-Queue', git: 'https://github.com/CollectionFS/Meteor-micro-queue.git' }); Package.onUse(function (api) { api.versionsFrom('1.0'); api.use('deps', ['client', 'server']); ...
JavaScript
0
@@ -59,9 +59,9 @@ 0.0. -5 +6 ',%0A
0f2dcfadb37d6633f7959f4a096369a6d2202d7b
handle serial port buffer overrun (#574)
providers/serialport.js
providers/serialport.js
/* * Copyright 2014-2015 Fabian Tollenaar <fabian@starting-point.nl> * * 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-2.0 * Unless requi...
JavaScript
0
@@ -1586,16 +1586,69 @@ .isArray +%0Aconst debug = require('debug')('signalk:serialport') %0A%0Afuncti @@ -1882,16 +1882,72 @@ options%0A + this.maxPendingWrites = options.maxPendingWrites %7C%7C 5%0A this.s @@ -2622,16 +2622,40 @@ = this%0A + let pendingWrites = 0%0A const @@ -2817,75 +2817,379 @@ nt)%0...
91d29d5f7e9f23af4852fa5c43264703058ca54a
Use `applicationMenu` property of app to set the current menu
example/main.js
example/main.js
const electron = require('electron'); const app = electron.app; const Menu = electron.Menu; const BrowserWindow = electron.BrowserWindow; const join = require('path').join; // Replace '..' with 'about-window' const openAboutWindow = require('..').default; app.once('window-all-closed', function() { app.quit(); });...
JavaScript
0.000001
@@ -2267,17 +2267,13 @@ -Menu.setA +app.a ppli @@ -2286,14 +2286,15 @@ Menu -( + = menu -) ;%0A%7D)
b994e896d723cff455a0798f1555bd8674dcbf1e
Add custom events to make it easy to trigger something after open/close
modal.js
modal.js
/*! * CSS Modal * http://drublic.github.com/css-modal * * @author Hans Christian Reinl - @drublic * @version 1.0 */ (function () { 'use strict'; // Storage variable var modal = {}; // Store for currently active element modal.lastActive = undefined; modal.activeElement = undefined; // Polyfill addEvent...
JavaScript
0
@@ -856,16 +856,359 @@ alse);%0A%0A +%09// Conveniance function to trigger event%0A%09modal._dispatchEvent = function (event, modal) %7B%0A%09%09var eventTigger;%0A%0A%09%09if (!document.createEvent) %7B%0A%09%09%09return;%0A%09%09%7D%0A%0A%09%09eventTigger = document.createEvent('Event');%0A%0A%09%09eventTigger.initE...
9dabb2b12ee2a9649d3139ab55322b1c14268000
Add subject: further math
view/CIESubjects.data.js
view/CIESubjects.data.js
/* List of all CIE subjects that SchSrch officially maintain. If you want SchSrch to include additional subjects, report with either GitHub issues or on-site feedback. SchSrch will do its best to keep all contents up-to-date. */ module.exports = [ { id: '0400', level: 'IGCSE', name: 'Art & Design'...
JavaScript
0.999797
@@ -1645,32 +1645,109 @@ %0A %7D%0A %7D,%0A %7B%0A + id: '9231',%0A level: 'A/s',%0A name: 'Mathematics - Further'%0A %7D,%0A %7B%0A id: '9239',%0A
07a190238630227102bcd367a84d340984022376
Add stroke to the marker
web/app/view/map/Map.js
web/app/view/map/Map.js
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * 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-2.0 * * Unless required b...
JavaScript
0.000013
@@ -2559,14 +2559,175 @@ r: ' -g re -en' +d'%0A %7D),%0A stroke: new ol.style.Stroke(%7B%0A color: 'black',%0A width: 2 %0A
ce6b1b603b84d14f614d51422e4abadd307207a9
Update plugin.js
app/assets/javascripts/tinymce/plugins/uploadimage/plugin.js
app/assets/javascripts/tinymce/plugins/uploadimage/plugin.js
(function() { tinymce.PluginManager.requireLangPack('uploadimage'); tinymce.create('tinymce.plugins.UploadImage', { UploadImage: function(ed, url) { var form, iframe, win, throbber, editor = ed; function showDialog() { win = editor.windowManager.open...
JavaScript
0.000001
@@ -6434,34 +6434,39 @@ json%5B%22image%22%5D%5B%22 -ur +origina l%22%5D + %22'%22;%0A
7d83dd928cde167b3ef75e7732c0971403473184
Add minified test
mocha.entry.js
mocha.entry.js
/*eslint-env node, mocha*/ var ModernizrWebpackPlugin = require('./index'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var Promise = require('bluebird'); var assign = require('object-assign'); var path = require('path'); var fs = Promise.promisifyAll(require('fs')); var del = require('del'); var expect ...
JavaScript
0.000003
@@ -1804,70 +1804,8 @@ /';%0A - webpackConfig.plugins.push(new ModernizrWebpackPlugin());%0A @@ -1842,24 +1842,24 @@ nction () %7B%0A + fs.rea @@ -2071,18 +2071,435 @@ (done);%0A - %7D);%0A%0A + it('should output minified modernizr package', function (done) %7B%0A webpackConfig.plugins = %5B%0...
09be8529e17ac5f9260c9c9d27cb0a832fa0fb11
Add passive option for touchmove events on der-reader #86
modules/der-reader/src/index.js
modules/der-reader/src/index.js
'use strict' var webspeechapi, vibrateWebApi, DerReader webspeechapi = require('./../../tts.webapi/tts.webapi.js') vibrateWebApi = require('./../../vibrate.webapi/vibrate.webapi.js') DerReader = require('./der-reader.js') DerReader.init({ container: 'der-reader', derFile: null, tts: webspeechapi, vibrate: v...
JavaScript
0
@@ -495,18 +495,34 @@ r');%0Ael. -on +addEventListener(%22 touchmov @@ -522,18 +522,18 @@ ouchmove - = +%22, move_ha @@ -537,10 +537,31 @@ _handler +, %7B passive: false %7D) ;%0A
714b13e4e97a9ff103dfd4b52b5a4482b389f83d
allow client_id of 18 characters. datacite/lupo#291
app/models/client.js
app/models/client.js
import { computed } from '@ember/object'; import DS from 'ember-data'; import ENV from 'bracco/config/environment'; import { validator, buildValidations } from 'ember-cp-validations'; const Validations = buildValidations({ symbol: [ validator('presence', true), validator('client-id', true), validator('un...
JavaScript
0.000001
@@ -759,9 +759,9 @@ x: 1 -7 +8 %0A
28729996210a239896989843f4a075dd4cedc5ed
add momentjs as dependency
package.js
package.js
Package.describe({ name: "gildaspk:autoform-materialize", summary: "Materialize theme for Autoform", version: "0.0.25", git: "https://github.com/djhi/meteor-autoform-materialize.git" }) Package.onUse(function(api) { api.versionsFrom("1.0") api.use(["templating", "underscore"], "client") api.use("aldeed:a...
JavaScript
0.000001
@@ -294,16 +294,45 @@ lient%22)%0A + api.use('momentjs:moment')%0A api.us
b2610597901af15ca5c46af5eae7e00eda6466c7
Set the odd/even strips after sorting.
src/encoded/static/libs/table_sorter.js
src/encoded/static/libs/table_sorter.js
/********* Table sorter script *************/ /* * Apply sorting controls to a table. * When user clicks on a th without 'nosort' class, * it sort table values using the td 'data-sortabledata' attribute, * or the td text content * */ (function($) { function sortable(cell) { // convert a cell a to something s...
JavaScript
0
@@ -757,24 +757,50 @@ rted -;%0A%0A%09th = $(this) +, $this;%0A%0A $this = $(this);%0A%09th = $this .clo @@ -833,22 +833,20 @@ ('th', $ -( this -) .closest @@ -873,30 +873,28 @@ table = $ -( this -) .parents('ta @@ -1043,22 +1043,20 @@ ;%0A%0A $ -( this -) .parent( @@ -1156,30 +1156,28 @@ own');%0A...
4eef525b5759d5d9ad09638fc300d4a2faae570a
Update tests
test/unit/controllers/MobileAppController.test.js
test/unit/controllers/MobileAppController.test.js
var root = require('root-path') var setup = require(root('test/setup')) var factories = require(root('test/setup/factories')) var MobileAppController = require(root('api/controllers/MobileAppController')) describe('MobileAppController', () => { var req, res beforeEach(() => { req = factories.mock.request() ...
JavaScript
0.000001
@@ -463,24 +463,27 @@ ) =%3E %7B%0A + // it('returns @@ -533,32 +533,35 @@ ', () =%3E %7B%0A + // var expected @@ -561,32 +561,35 @@ pected = %7B%0A + // type: 'sugg @@ -592,36 +592,39 @@ suggest',%0A +// + title: 'An updat @@ -637,32 +637,35 @@ vailable',%0A + // ...
59cdc191dfe824c03fd0bc7f4b9a73d11d834457
Improve sub error message.
_setup/utils/get-sub-error-message.js
_setup/utils/get-sub-error-message.js
'use strict'; module.exports = function (error) { return error.key + ': ' + error.message; };
JavaScript
0.000001
@@ -43,17 +43,64 @@ error) %7B - +%0A%09if (error.key == null) return error.message;%0A%09 return e @@ -131,12 +131,12 @@ message; - +%0A %7D;%0A
81711d7eac9b5b65bc1c820921fda59fd0fdc51e
enable bootstrap.js
config/env/all.js
config/env/all.js
'use strict'; module.exports = { app: { title: 'Studio Center Auditions', description: 'Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js', keywords: 'MongoDB, Express, AngularJS, Node.js' }, port: process.env.PORT || 3000, templateEngine: 'swig', sessionSecret: 'MEAN', sessionCollection:...
JavaScript
0.000004
@@ -1418,45 +1418,50 @@ lib/ -angular-ui-utils/ui-utils +bootstrap/dist/js/bootstrap.min .js', + %0A%09%09%09%09 -// 'pub @@ -1472,45 +1472,38 @@ lib/ -bootstrap/dist/js/bootstrap.min +angular-ui-utils/ui-utils .js', - %0A%09%09%09
1ea71fd030cfbeb61a1a1d90ec80ddc8da6fa284
use two slashes in RegExp strings for escapement (see http://stackoverflow.com/questions/7735749/fix-jslint-bad-escapement-warning-in-regex)
lib/OpenLayers/SingleFile.js
lib/OpenLayers/SingleFile.js
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ var OpenLayers = { /** * Constant: VERSION_NUMBER */ ...
JavaScript
0
@@ -808,16 +808,17 @@ yers.*?%5C +%5C .js)(%5C%5C?
88d26c4300603b6c32235be94899882a5bac60a3
change version to 0.1.2
package.js
package.js
Package.describe({ summary: "Login service for Odnoklassniki.ru accounts (https://ok.ru)", version: "0.1.1", git: "https://github.com/mike1pol/meteor-accounts-ok.git", name: "mikepol:accounts-ok" }); Package.on_use(function(api) { api.versionsFrom('METEOR@0.9.0'); api.use('accounts-base', ['cli...
JavaScript
0.000336
@@ -106,17 +106,17 @@ n: %220.1. -1 +2 %22,%0A g
9698eec91dae3cecb188257d28292c48b7bf4775
Update devel.js
gulp/devel.js
gulp/devel.js
'use strict'; var gulp = require('gulp'), gulpLoadPlugins = require('gulp-load-plugins'); var del = require('del'); var plugins = gulpLoadPlugins(); var paths = gulp.paths; //var defaultTasks = ['clean', 'jshint', 'less', 'csslint', 'develop', 'watch']; var defaultTasks = ['clean', 'jshint', 'csslint','develop','wa...
JavaScript
0
@@ -251,16 +251,56 @@ atch'%5D;%0A +gulp.task('help', plugins.taskListing);%0A var defa
4f679c891ce3233d798e507fcd1a80a13c0e4572
Set maxAge for session
config/env/all.js
config/env/all.js
'use strict'; var path = require('path'), rootPath = path.normalize(__dirname + '/../..'); module.exports = { root: rootPath, port: process.env.PORT || 3000, hostname: process.env.HOST || process.env.HOSTNAME, db: process.env.MONGOHQ_URL, templateEngine: 'swig', // The secret should be set to a non-gue...
JavaScript
0
@@ -989,20 +989,41 @@ maxAge: -null +1000 * 60 * 60 * 24 * 365 %0A %7D,%0A%0A
3d7ef67360ce4dbf60f1f133e03ca9c524ad1448
Update versions
package.js
package.js
// Meteor package definition. Package.describe({ name: 'urbanetic:bismuth-utility', version: '1.0.0', summary: 'A set of utilities for working with GIS apps.', git: 'https://github.com/urbanetic/bismuth-reports.git' }); Npm.depends({ 'request': '2.37.0', 'concat-stream': '1.4.7' }); Package.onUse(function...
JavaScript
0.000001
@@ -91,25 +91,25 @@ rsion: '1.0. -0 +1 ',%0A summary @@ -525,24 +525,26 @@ nts-ui@1.0.0 +_1 ',%0A 'urba
a2d055b1bd9a71b18ba5be9a86d61c1a57d24632
Refactor getting model properties.
app/controllers/post.js
app/controllers/post.js
import Ember from 'ember'; export default Ember.ObjectController.extend({ netVotes: function() { var model = this.get('model'); return model.get('upVotes') - model.get('downVotes'); }.property('downVotes', 'upVotes') });
JavaScript
0
@@ -101,19 +101,14 @@ -var model = +return thi @@ -123,34 +123,9 @@ odel -');%0A return model.get(' +. upVo @@ -136,19 +136,24 @@ ) - -model +this .get(' +model. down