code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/assets/test/spec/builder/components/modals/publish/publish-view.spec.js b/lib/assets/test/spec/builder/components/modals/publish/publish-view.spec.js @@ -68,6 +68,8 @@ describe('components/modals/publish/publish-view', function () {
configModel: configModel
});
+ var modals = new Backbone.Model();
+
th... | 1 |
diff --git a/source/core/sortByProperties.js b/source/core/sortByProperties.js @@ -30,11 +30,23 @@ const sortByProperties = function (properties) {
return function (a, b) {
const hasGet = !!a.get;
for (let i = 0; i < l; i += 1) {
- const prop = properties[i];
- const aVal = hasGet ? a.get(prop) : a[prop];
- const bVal ... | 11 |
diff --git a/src/registry/registry.js b/src/registry/registry.js @@ -38,7 +38,7 @@ class Registry {
this.StrategyFactory = Strategies.resolve(this.opts.strategy);
- this.logger.info("Strategy:", this.StrategyFactory.name);
+ this.logger.info(`Strategy: ${this.StrategyFactory.name}`);
this.nodes = new NodeCatalog(this, ... | 1 |
diff --git a/src/XR.js b/src/XR.js @@ -8,6 +8,10 @@ const {_elementGetter, _elementSetter} = require('./utils');
const _getXrDisplay = window => window[symbols.mrDisplaysSymbol].xrDisplay;
const _getXmDisplay = window => window[symbols.mrDisplaysSymbol].xmDisplay;
+const _getFakeVrDisplay = window => {
+ const {fakeVrD... | 11 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,18 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.28.3] -- 2017-06-26
+
+### Fixed
+- Fix deselect on double-clicking for gl2d traces [#1811]
+- Fix `Plotly.purge` for gl2d and gl3d s... | 3 |
diff --git a/docs/index.html b/docs/index.html <div class="col-lg-4 col-sm-4">
<div class="preview">
<div class="image">
- <a target="_blank" class="img-responsive" href="https://bootstrapbay.sjv.io/6k92E"><img class="img-responsive" src="https://bootstrapbaybox.s3.eu-central-1.amazonaws.com/uploads/theme/screenshot/BE... | 1 |
diff --git a/src/components/checkout/templates/container/content.json b/src/components/checkout/templates/container/content.json },
"en": {
"windowMessage": "Don\u2019t see the secure PayPal browser? We\u2019ll help you re-launch the window to complete your purchase. ",
- "continue": "Continue"
+ "continue": "Click to ... | 7 |
diff --git a/sass/bootstrap-select.scss b/sass/bootstrap-select.scss @function fade($color, $amnt) {
@if $amnt > 1 {
- $amnt: $amnt / 100; // convert to percentage if int
+ $amnt: $amnt * 0.01; // convert to percentage if int
}
@return rgba($color, $amnt);
}
| 14 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -205,11 +205,6 @@ RED.view = (function() {
function init() {
-// setTimeout(function() {
-// function snap(p) { return RED.view.gridSize() * Math.round(p/RED.view.gridSize())... | 9 |
diff --git a/userscript.user.js b/userscript.user.js @@ -36474,6 +36474,15 @@ var $$IMU_EXPORT$$;
return src.replace(/\/photo\/+[a-z]+\//, "/photo/full/");
}
+ if (host_domain_nosub === "500px.com" && options && options.element) {
+ if (src.indexOf("://drscdn.500px.org/") < 0) {
+ if (options.element.tagName === "A" &&... | 7 |
diff --git a/src/utils/wallet.js b/src/utils/wallet.js @@ -25,7 +25,7 @@ export const IS_MAINNET = process.env.REACT_APP_IS_MAINNET === 'true' || process
export const DISABLE_CREATE_ACCOUNT = process.env.DISABLE_CREATE_ACCOUNT === 'true' || process.env.DISABLE_CREATE_ACCOUNT === 'yes'
export const DISABLE_SEND_MONEY = ... | 3 |
diff --git a/src/pages/EvidencePage/ProfileHeader.js b/src/pages/EvidencePage/ProfileHeader.js @@ -38,7 +38,7 @@ function ProfileHeader() {
const diseaseSynonyms = [];
- if (data) {
+ if (synonyms) {
synonyms.forEach(({ terms }) => {
terms.forEach(term => {
diseaseSynonyms.push(term);
@@ -87,7 +87,9 @@ function Profile... | 9 |
diff --git a/examples/unittest.js b/examples/unittest.js @@ -18,45 +18,36 @@ describe('Math', function () {
logLevel: 'info'
})
- // Should return the payload "hello" when someone call the pattern "topic:test"
- Act.stub(hemera, { topic: 'test' }, null, 'hello')
+ // stub act calls
+ Act.stub(hemera, { topic: 'math', c... | 7 |
diff --git a/plugins/object_storage/config/routes.rb b/plugins/object_storage/config/routes.rb @@ -13,7 +13,7 @@ ObjectStorage::Engine.routes.draw do
end
end
- scope 'containers/:container', format: false do
+ scope 'containers/:container', constraints: { container: /[^\/]+/ }, format: false do
# a simple `resources :o... | 9 |
diff --git a/includes/Core/Permissions/Permissions.php b/includes/Core/Permissions/Permissions.php @@ -346,10 +346,6 @@ final class Permissions {
$caps[] = self::SETUP;
}
- if ( self::MANAGE_OPTIONS === $cap && ! $this->is_user_authenticated( $user_id ) ) {
- return array_merge( $caps, array( 'do_not_allow' ) );
- }
-
... | 2 |
diff --git a/examples/eventloop/c_eventloop.c b/examples/eventloop/c_eventloop.c #include "duktape.h"
-#define MAX_TIMERS 4096 /* this is quite excessive for embedded use, but good for testing */
+#define TIMERS_SLOT_NAME "eventTimers"
#define MIN_DELAY 1.0
#define MIN_WAIT 1.0
#define MAX_WAIT 60000.0
#define MAX_EXPI... | 4 |
diff --git a/src/control/Control.Attribution.js b/src/control/Control.Attribution.js @@ -4,7 +4,7 @@ import Map from '../map/Map';
/**
* @property {Object} options - options
- * @property {Object} [options.position='bottom-left'] - position of the control, enmu: bottom-left, bottom-right
+ * @property {Object} [options... | 1 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 14.8.0
- Added: `keyframe-block-no-duplicate-selectors` rule ([#6024](https://github.com/stylelint/stylelint/pull/6024)).
- Added: `property-*-list` support for vendor prefixes ([#6025](https://github.... | 6 |
diff --git a/src/Element.js b/src/Element.js @@ -350,17 +350,7 @@ export default class Element {
}
get placeholderChar() {
- if (!this.component.inputMaskPlaceholderChar) {
- if (!this.component?.inputMask?.includes('\u02cd')) {
- return '\u02cd';
- }
- // If some fields already use \u02cd in the mask, use an underscor... | 12 |
diff --git a/config/models.js b/config/models.js @@ -93,9 +93,12 @@ module.exports.models = {
var data = [];
self.seedData.forEach(function (seed) {
- data.push(_.merge(_.filter(results,function (item) {
- return item.name === seed.name
- })[0] || {},seed))
+
+ const updateItem = _.find(results, (item) => {
+ return it... | 1 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs:
- checkout
- run:
name: notify build started
- command: ./notify-slack notifications "CircleCI starting pipeline for $CIRCLE_PULL_REQUEST" circleci
+ command: ./notify-slack notifications "CircleCI starting pipeline for ${CIRCLE_PULL_REQUEST... | 7 |
diff --git a/source/views/collections/ToolbarView.js b/source/views/collections/ToolbarView.js @@ -390,6 +390,12 @@ const ToolbarView = Class({
}
}
},
+
+ preventOverlapDidChange: function () {
+ if (this.get('preventOverlap') && this.get('isInDocument')) {
+ this.preMeasure().postMeasure().computedPropertyDidChange('l... | 9 |
diff --git a/story.js b/story.js @@ -414,7 +414,6 @@ story.handleWheel = e => {
}
};
-story.listenHack = () => {
const _startConversation = (comment, remotePlayer, done) => {
const localPlayer = getLocalPlayer();
currentConversation = new Conversation(localPlayer, remotePlayer);
@@ -431,6 +430,11 @@ story.listenHack = ... | 0 |
diff --git a/web/firefox_print_service.js b/web/firefox_print_service.js @@ -128,7 +128,7 @@ function FirefoxPrintService(
this._printResolution = printResolution || 150;
this._optionalContentConfigPromise =
optionalContentConfigPromise || pdfDocument.getOptionalContentConfig();
- this._optionalContentConfigPromise =
+... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -33134,10 +33134,13 @@ if (domain_nosub === "lystit.com" && domain.match(/cdn[a-z]?\.lystit\.com/)) {
return src.replace(/(\/uploads\/+pj\/+)thumbs(?:-[a-z]+)?\/+/, "$1");
}
- if (domain_nowww === "hayabusa.io" && src.indexOf("/openrec-image/") >= 0) {
+ if (domai... | 7 |
diff --git a/components/measurement/DetailsBox.js b/components/measurement/DetailsBox.js @@ -68,7 +68,7 @@ export const DetailsBox = ({ title, content, collapsed = false, ...rest }) => {
<Heading h={4}>{title}</Heading>
</Box>
<Box ml='auto'>
- <CollapseTrigger size={36} open={isOpen} />
+ <CollapseTrigger size={36} $o... | 4 |
diff --git a/src/App/MiddleColumn/StoryCard/index.js b/src/App/MiddleColumn/StoryCard/index.js import React, { Component, PropTypes } from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
+import deepEqual from 'deep-eql';
import { track } from '../../../EventTracker';
// eslint-... | 7 |
diff --git a/src/Plugins/RenderPlugin.js b/src/Plugins/RenderPlugin.js @@ -16,6 +16,7 @@ async function render(
if (!templateConfig) {
templateConfig = new TemplateConfig(null, false);
}
+
// TODO should this run every time??? probably not?
if (config && typeof config === "function") {
await config(templateConfig.userC... | 9 |
diff --git a/src/components/inspectors/LoopCharacteristics.vue b/src/components/inspectors/LoopCharacteristics.vue @@ -382,10 +382,13 @@ export default {
}
},
setLoopMaximum(value) {
+ if (!value) {
+ value = null;
+ }
this.local.loopCharacteristics.loopMaximum = value;
},
getLoopMaximum() {
- if (!this.local.loopChara... | 2 |
diff --git a/contributors.js b/contributors.js @@ -39,4 +39,8 @@ module.exports = {
name: 'Abhijeet Rohidas Ekad',
linkedin: 'https://www.linkedin.com/in/abhijeet-ekad-767a691aa/',
},
+ "nisargpawade": {
+ country: "India",
+ name: "Nisarg Pawade",
+ },
}
| 3 |
diff --git a/test/sanity/testcfg.py b/test/sanity/testcfg.py @@ -37,6 +37,8 @@ class RemotingTestCase(test.TestCase):
return self.path[-1]
def GetEnv(self):
+ libpath=os.getenv('PYTHONPATH')
+ if libpath is None:
libpath = join(self.file, '..', '..', '..', '..', '..', 'third_party/webdriver/pylib')
return {'PYTHONPATH'... | 3 |
diff --git a/server/game/player.js b/server/game/player.js @@ -319,11 +319,6 @@ class Player extends Spectator {
}
initDynastyDeck() {
- this.hand.each(card => {
- card.moveTo('dynasty deck');
- this.dynastyDeck.push(card);
- });
- this.hand = _([]);
this.shuffleDynastyDeck();
}
| 1 |
diff --git a/src/browser/nw_extensions_browser_hooks.cc b/src/browser/nw_extensions_browser_hooks.cc @@ -144,7 +144,7 @@ std::unique_ptr<base::DictionaryValue> MergeManifest() {
// retrieve `window` manifest set by `new-win-policy`
std::string manifest_str = base::UTF16ToUTF8(nw::GetCurrentNewWinManifest());
- std::uni... | 14 |
diff --git a/tasks/gulp/copy-to-destination.js b/tasks/gulp/copy-to-destination.js @@ -15,17 +15,24 @@ const taskArguments = require('../task-arguments')
gulp.task('copy-files', () => {
return merge(
- // Copy source JavaScript
+ /**
+ * Copy files to destination with './govuk-esm' suffix
+ * Includes only source JavaS... | 7 |
diff --git a/CHANGES.md b/CHANGES.md - Fixed handling of subtree root transforms in `Implicit3DTileContent`. [#9971](https://github.com/CesiumGS/cesium/pull/9971)
- Fixed issue in `ModelExperimental` where indices were not the correct data type after draco decode. [#9974](https://github.com/CesiumGS/cesium/pull/9974)
-... | 3 |
diff --git a/game.js b/game.js @@ -968,7 +968,6 @@ const _updateWeapons = (timestamp) => {
// moveMesh.visible = false;
const localPlayer = useLocalPlayer();
- const oldGrabUseTarget = grabUseMesh.visible ? grabUseMesh.target : null;
const _isWear = o => localPlayer.wears.some(wear => wear.instanceId === o.instanceId);... | 2 |
diff --git a/src/userscript.ts b/src/userscript.ts @@ -65104,7 +65104,21 @@ var $$IMU_EXPORT$$;
if (domain === "global.unitednations.entermediadb.net") {
// https://global.unitednations.entermediadb.net/assets/mediadb/services/module/asset/downloads/preset/assets/2014/07/19535/image1170x530cropped.jpg
// https://global... | 7 |
diff --git a/src/components/PageMetadata.js b/src/components/PageMetadata.js @@ -71,6 +71,7 @@ const PageMetadata = ({ description, meta, title, image, canonicalUrl }) => {
canonicalUrl || `${site.siteMetadata.url}${canonicalPath}`
/* Set fallback ogImage based on path */
+ const siteUrl = site.siteMetadata.url
let ogI... | 13 |
diff --git a/src/imba/router.imba b/src/imba/router.imba @@ -178,8 +178,16 @@ export class Router < EventEmitter
let href = a.getAttribute('href')
let url = new URL(a.href)
let target = url.href.slice(url.origin.length)
+ let currpath = realpath.split('#')[0]
+ let newpath = target.split('#')[0]
+ # console.log 'clickl... | 12 |
diff --git a/semantics.json b/semantics.json "H5P.Text 1.1",
"H5P.Table 1.1",
"H5P.Link 1.3",
- "H5P.Image 1.0",
+ "H5P.Image 1.1",
"H5P.Summary 1.8",
"H5P.SingleChoiceSet 1.9",
"H5P.MultiChoice 1.10",
| 0 |
diff --git a/themes/shared/routes/widgets/Forms.js b/themes/shared/routes/widgets/Forms.js @@ -69,6 +69,6 @@ export default <cx>
</Section>
<Section mod="well" title="MonthPicker">
- <MonthPicker range from:bind="dateFrom" to:bind="dateTo"/>
+ <MonthPicker style={{ height: '25em' }} range from:bind="dateFrom" to:bind="... | 12 |
diff --git a/src/web/containers/Settings/Settings.jsx b/src/web/containers/Settings/Settings.jsx import classNames from 'classnames';
import i18next from 'i18next';
-import cookie from 'js-cookie';
import _ from 'lodash';
+import Uri from 'jsuri';
import React, { Component, PropTypes } from 'react';
import { Link } fro... | 1 |
diff --git a/token-metadata/0x5b535EDfA75d7CB706044Da0171204E1c48D00e8/metadata.json b/token-metadata/0x5b535EDfA75d7CB706044Da0171204E1c48D00e8/metadata.json "symbol": "808TA",
"address": "0x5b535EDfA75d7CB706044Da0171204E1c48D00e8",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/legacy.js b/legacy.js +'use strict'
var pull = require('pull-stream')
var pl = require('pull-level')
var Live = require('pull-live')
@@ -74,9 +75,18 @@ module.exports = function (db, flumedb) {
)
}
+ function update (since) {
+ var prog = flumedb.progress
+ var start = (prog.start = flumedb.progress.start ... | 12 |
diff --git a/lib/reporters/dot_reporter.js b/lib/reporters/dot_reporter.js @@ -14,6 +14,7 @@ function DotReporter(silent, out) {
this.results = [];
this.startTime = new Date();
this.endTime = null;
+ this.currentLineChars = 0;
this.out.write('\n');
this.out.write(' ');
}
@@ -36,6 +37,10 @@ DotReporter.prototype = {
if ... | 7 |
diff --git a/frontend/src/containers/consul_kv.js b/frontend/src/containers/consul_kv.js @@ -396,11 +396,11 @@ class ConsulKV extends Component {
{ this.props.consulKVPair.Key
- ? <RaisedButton
- style={{ float: 'right' }}
+ ? <FlatButton
+ style={{ float: 'right', color: 'white' }}
backgroundColor={ red5... | 7 |
diff --git a/screenshot.html b/screenshot.html const mediaRecorder = new MediaRecorder(stream, {
mimeType: 'video/webm; codecs=vp9',
+ videoBitsPerSecond: 5000000,
});
mediaRecorder.ondataavailable = event => {
| 0 |
diff --git a/generators/openapi-client/files.js b/generators/openapi-client/files.js @@ -46,12 +46,15 @@ function writeFiles() {
}
Object.keys(this.clientsToGenerate).forEach(cliName => {
- removeClientFiles(cliName);
+ const baseCliPackage = `${this.packageName}.client.`;
+ const cliPackage = `${baseCliPackage}${_.toL... | 2 |
diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js @@ -951,7 +951,7 @@ class MUIDataTable extends React.Component {
);
};
- getSortDirection(column) {
+ getSortDirectionLabel(column) {
return column.sortDirection === 'asc' ? 'ascending' : 'descending';
}
@@ -979,7 +979,7 @@ class MUIDataTable extends React.Componen... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -30132,6 +30132,12 @@ var $$IMU_EXPORT$$;
return src.replace(/(:\/\/[^/]*\/)(?:in|out)\/[0-9]+x[0-9]+\//, "$1");
}
+ if (domain_nosub === "luscious.net" && /^w[0-9]+\./.test(domain)) {
+ // https://w100.luscious.net/Piclocked/316083/29737493_385675231951060_244331... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -14,7 +14,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- 'alternate' as a listed 'rel' type with recommended 'text/html' to communicate there is an html version.
- Added a code of conduct based on github's template.
-- overvi... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -23974,7 +23974,9 @@ var $$IMU_EXPORT$$;
// https://cdn.britannica.com/50/71350-118-1F17F9C4.jpg
// https://cdn.britannica.com/s:500x350/35/155335-004-7F46A7C3.jpg
// https://cdn.britannica.com/35/155335-004-7F46A7C3.jpg
- return src.replace(/(:\/\/[^/]*\/)(?:s:)?... | 7 |
diff --git a/packages/insight-previous/src/components/head-nav/head-nav.ts b/packages/insight-previous/src/components/head-nav/head-nav.ts @@ -72,7 +72,7 @@ export class HeadNavComponent {
this.resetSearch();
this.loading = false;
this.reportBadQuery('Server error. Please try again');
- console.log(err);
+ this.logger.... | 14 |
diff --git a/store/queue.js b/store/queue.js @@ -73,6 +73,8 @@ function runReliableQueue(queueName, parallelism, processor) {
return processOneJob();
});
});
+ }).catch((err) => {
+ throw err;
});
}
for (let i = 0; i < parallelism; i += 1) {
| 9 |
diff --git a/packages/app/src/server/service/page.ts b/packages/app/src/server/service/page.ts @@ -2708,7 +2708,7 @@ class PageService {
* @param user To be used to filter pages to update. If null, only public pages will be updated.
* @returns Promise<void>
*/
- async normalizeParentRecursively(paths: string[], user: a... | 10 |
diff --git a/slick.editors.js b/slick.editors.js };
this.serializeValue = function () {
- var rtn = parseFloat($input.val()) || 0;
+ var rtn = parseFloat($input.val());
+ if (FloatEditor.AllowEmptyValue) {
+ if (!rtn && rtn !==0) { rtn = ''; }
+ } else {
+ rtn |= 0;
+ }
var decPlaces = getDecimalPlaces();
if (decPlaces... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -1675,6 +1675,7 @@ var $$IMU_EXPORT$$;
// thanks to regis on discord for the idea
scroll_incremental_mult: 1.25,
mouseover_move_with_cursor: false,
+ // thanks to regis on discord for the idea
mouseover_move_within_page: true,
zoom_out_to_close: false,
// thanks t... | 7 |
diff --git a/src/components/app/App.jsx b/src/components/app/App.jsx @@ -147,7 +147,7 @@ export const App = () => {
<div className={ styles.App } id="app" >
<AppContext.Provider value={{ state, setState, app }}>
<Header setSelectedApp={ setSelectedApp } selectedApp={ selectedApp } />
- <canvas className={ styles.canvas... | 2 |
diff --git a/test/jasmine/tests/gl2d_plot_interact_test.js b/test/jasmine/tests/gl2d_plot_interact_test.js @@ -261,6 +261,57 @@ describe('Test gl plot side effects', function() {
.catch(failTest)
.then(done);
});
+
+ it('@gl should not clear context when dimensions are not integers', function(done) {
+ spyOn(Plots, 'cl... | 0 |
diff --git a/js/kiri-init.js b/js/kiri-init.js @@ -1474,12 +1474,12 @@ var gs_kiri_init = exports;
slaFillDensity: UC.newInput('density', {title:'percent infill\n0.0-1.0', convert:UC.toFloat, bound:UC.bound(0,1), modes:SLA}),
slaFillLine: UC.newInput('line width', {title:'hatch line width\nin millimeters', convert:UC.t... | 2 |
diff --git a/generators/server/templates/src/main/java/package/repository/PersistentTokenRepository.java.ejs b/generators/server/templates/src/main/java/package/repository/PersistentTokenRepository.java.ejs @@ -48,9 +48,6 @@ import org.springframework.data.mongodb.repository.MongoRepository;
<%_ if (databaseTypeNeo4j) ... | 2 |
diff --git a/src/resources/views/crud/buttons/delete.blade.php b/src/resources/views/crud/buttons/delete.blade.php success: function(result) {
if (result == 1) {
// Redraw the table
+ if (typeof crud != 'undefined' && typeof crud.table != 'undefined') {
crud.table.draw(false);
+ }
// Show a success notification bubble
... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -11816,16 +11816,22 @@ var $$IMU_EXPORT$$;
// https://geo1.ggpht.com/cbk?panoid=G27yBPFPohgfkiutzyysbg&output=thumbnail&cb_client=search.gws-prod.gps&thumb=2&w=408&h=240&yaw=108.68918&pitch=0&thumbfov=100
// https://geo1.ggpht.com/cbk?panoid=G27yBPFPohgfkiutzyysbg... | 7 |
diff --git a/source/localisation/Locale.js b/source/localisation/Locale.js @@ -315,6 +315,25 @@ Object.assign(Locale.prototype, {
// === Strings ===
+ /**
+ Method (private): Method: O.Locale#_lr
+
+ Accepts a list of translated strings/arguments and, when no DOM
+ elements are included in the list, reduces them to a s... | 0 |
diff --git a/backend/portal_api/pkg/handler.go b/backend/portal_api/pkg/handler.go @@ -871,7 +871,7 @@ func enrichResponseWithProgramDetails(response interface{}) []interface{}{
for _,objects := range responseArr {
obj := objects.(map[string]interface{})
- programs := obj["programs"].([]interface{})
+ if programs, ok :... | 9 |
diff --git a/lib/event/onJoinRequestHandle.js b/lib/event/onJoinRequestHandle.js @@ -20,20 +20,15 @@ exports.func = function (args) {
return getJoinRequests({jar: jar, group: group})
.timeout(timeout)
.then(function (requests) {
- var jobs = [];
var complete = {
data: [],
latest: -2,
repeat: requests.length >= 20
};
- ... | 6 |
diff --git a/test/external.spec.js b/test/external.spec.js @@ -8,6 +8,7 @@ if (typeof process === 'object') {
var pathModule = require('path');
var childProcess = require('child_process');
var basePath = pathModule.join(findNodeModules()[0], '..');
+ var externaltestsDir = pathModule.join(__dirname, '..', 'externaltest... | 1 |
diff --git a/token-metadata/0x4588C3c165a5C66C020997d89C2162814Aec9cD6/metadata.json b/token-metadata/0x4588C3c165a5C66C020997d89C2162814Aec9cD6/metadata.json "symbol": "BTCWH",
"address": "0x4588C3c165a5C66C020997d89C2162814Aec9cD6",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/app/src/renderer/components/common/TmBalance.vue b/app/src/renderer/components/common/TmBalance.vue <div class="tabs">
<div
v-for="tab in tabs"
- :key="tab.path"
+ :key="tab.pathName"
:class="{ 'tab-selected': $route.name === tab.pathName }"
class="tab"
>
| 3 |
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md - [ ] This PR has **no** breaking changes.
- [ ] I have added my changes to the [CHANGELOG](https://github.com/radiantearth/stac-spec/blob/dev/CHANGELOG.md) **or** a CHANGELOG entry is not required.
-- [ ] API only: I have run `npm run gen... | 2 |
diff --git a/app/builtin-pages/views/view-source.js b/app/builtin-pages/views/view-source.js @@ -25,16 +25,25 @@ window.history.replaceState = _wr('replaceState')
var archiveKey = ''
var fileTree = ''
var archive
-var filePath
+var filePath = ''
var fileContent = ''
+var pathInfo
setup()
async function setup () {
updat... | 9 |
diff --git a/src/structure/immutable/setIn.js b/src/structure/immutable/setIn.js @@ -10,7 +10,7 @@ const undefinedArrayMerge = (previous, next) =>
const mergeLists = (original, value) =>
original && List.isList(original)
- ? original.mergeDeepWith(undefinedArrayMerge, value)
+ ? original.toMap().mergeDeepWith(undefined... | 1 |
diff --git a/src/pages/gettingstarted/design-principles.hbs b/src/pages/gettingstarted/design-principles.hbs @@ -18,10 +18,7 @@ title: Design Principles
Clarity
</h2>
<p>
- Eliminate ambiguity so that the user can see the
- important elements on the page, understand what
- they're supposed to do and act confidently.
- ... | 3 |
diff --git a/app.js b/app.js @@ -78,13 +78,11 @@ const server = createServer(serverOptions);
const backlog = global.environment.maxConnections || 128;
const listener = server.listen(serverOptions.bind.port, serverOptions.bind.host, backlog);
-const version = require('./package').version;
+const { version, name } = requ... | 6 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -15,7 +15,7 @@ Contributions and pull requests are always welcome. Contributors may often be fo
- renamed the `paper-radio-group` `paper-radio` to just `radio` -- usage would now be `group.radio` as opposed to `group.paper-radio`.
- Flex and layout attributes are replaced by ... | 6 |
diff --git a/articles/logs/index.md b/articles/logs/index.md @@ -109,7 +109,7 @@ The following table lists the codes associated with the appropriate log events.
| `limit_mu` | Blocked IP Address | An IP address is blocked with 100 failed login attempts using different usernames, all with incorrect passwords in 24 hours... | 3 |
diff --git a/src/components/Cluster/RKEClusterAdd/index.js b/src/components/Cluster/RKEClusterAdd/index.js @@ -257,7 +257,8 @@ export default class RKEClusterConfig extends PureComponent {
const { dispatch } = this.props;
dispatch({
type: 'cloud/getInitNodeCmd',
- callback: data => {
+ callback: res => {
+ const data =... | 1 |
diff --git a/js/bcex.js b/js/bcex.js @@ -91,7 +91,6 @@ module.exports = class bcex extends Exchange {
async fetchBalance (params = {}) {
await this.loadMarkets ();
- params['api_key'] = this.apiKey
let response = await this.privatePostApiUserUserBalance (params)
let data = response['data'];
let keys = Object.keys(data)... | 12 |
diff --git a/Sources/Web3Core/EthereumABI/ABIElements.swift b/Sources/Web3Core/EthereumABI/ABIElements.swift @@ -262,7 +262,7 @@ extension ABI.Element {
extension ABI.Element.Function {
public func decodeInputData(_ rawData: Data) -> [String: Any]? {
- return Web3Core.decodeInputData(rawData, methodEncoding: methodEnco... | 5 |
diff --git a/app-manager.js b/app-manager.js @@ -27,9 +27,10 @@ const localFrameOpts = {
};
class AppManager extends EventTarget {
- constructor({state = new Y.Doc(), apps = []} = {}) {
+ constructor({prefix = appsMapName, state = new Y.Doc(), apps = []} = {}) {
super();
+ this.prefix = prefix;
this.state = state;
this... | 0 |
diff --git a/src/pages/using-spark/foundations/color-usage.mdx b/src/pages/using-spark/foundations/color-usage.mdx @@ -124,11 +124,14 @@ import {
<SprkDivider element="span" additionalClasses="sprk-u-mvn"/>
<h2 class="docs-b-h2 sprk-b-TypeDisplayTwo sprk-u-mbl sprk-u-Measure">Our Color Story</h2>
<p>
- The Orbit palett... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -115,10 +115,3 @@ workflows:
- dockerfile-lint
- eslint
- test-unit
- - create-gitops-pull-request:
- context: reaction-gitops
- requires:
- - docker-build-push
- filters:
- branches:
- only: /^trunk$/
| 2 |
diff --git a/client/app/locales/locale-en.json b/client/app/locales/locale-en.json "CREATE": "Create",
"CANCEL": "Cancel",
"DELETE": "Delete",
- "JOIN": "Join"
+ "JOIN": "Join",
+ "LEAVE": "Leave"
},
"GROUP": {
"LEAVE": "Leave group...",
+ "LEAVE_TEXT": "Are you sure you want to leave this group?",
"EDIT": "Edit group"... | 3 |
diff --git a/docs/components/Checkboxes/1.Usage.md b/docs/components/Checkboxes/1.Usage.md @@ -13,43 +13,44 @@ Checkboxes can be either checked, unchecked or indeterminate.
//title=Using indeterminate state
<Form {...{
fields: {
- chicken: {
+ meat: {
inline: true,
hideHelpRow: true,
labelPosition: 'after',
- label: 'C... | 7 |
diff --git a/lib/assets/javascripts/locale/en.json b/lib/assets/javascripts/locale/en.json },
"data-observatory-measure": {
"title": "Enrich from Data Observatory",
- "short-title": "Data Observatory",
+ "short-title": "Enrich from Data observatory",
"age-and-gender": "Age and Gender",
"boundaries": "Boundaries",
"educ... | 3 |
diff --git a/content/questions/combining-different-types/index.md b/content/questions/combining-different-types/index.md @@ -14,11 +14,10 @@ answers:
What gets logged in the following scenario?
```javascript
-
console.log(2 + "1");
console.log(2 - "1");
```
<!-- explanation -->
-The first expression evaluates to `"21"`... | 2 |
diff --git a/articles/api/authentication/_change-password.md b/articles/api/authentication/_change-password.md @@ -21,6 +21,7 @@ curl --request POST \
```
```javascript
+<!--Script uses auth0.js v8. See Remarks for details.-->
<script src="${auth0js_urlv8}"></script>
<script type="text/javascript">
var webAuth = new au... | 0 |
diff --git a/lib/helpers/populate/assignRawDocsToIdStructure.js b/lib/helpers/populate/assignRawDocsToIdStructure.js @@ -6,6 +6,8 @@ const utils = require('../../utils');
module.exports = assignRawDocsToIdStructure;
+const kHasArray = Symbol('assignRawDocsToIdStructure.hasArray');
+
/**
* Assign `vals` returned by mong... | 7 |
diff --git a/pages/questionnaireCrowd.js b/pages/questionnaireCrowd.js @@ -27,7 +27,7 @@ import MdArrow from 'react-icons/lib/md/trending-flat'
const { Headline, P } = Interaction
const mutation = gql`
- mutation updateMe(
+ mutation submitQuestionnaireAndUpdateMe(
$questionnaireId: ID!
$phoneNumber: String
$address: A... | 4 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -305,6 +305,20 @@ const loadPromise = (async () => {
for (const animation of animations) {
animations.index[animation.name] = animation;
}
+
+ /* const animationIndices = animationStepIndices.find(i => i.name === 'Fast Run.fbx');
+ for (let i = 0; i < animationInd... | 0 |
diff --git a/src/journeys_utils.js b/src/journeys_utils.js @@ -961,7 +961,9 @@ journeys_utils.tryReplaceJourneyCtaLink = function (html){
try{
if(journeys_utils.hasJourneyCtaLink()){
var journeyLinkReplacePattern = /validate[(].+[)];/g;
- return html.replace(journeyLinkReplacePattern, 'validate("' + journeys_utils.getJ... | 2 |
diff --git a/react/.storybook/preview-head.html b/react/.storybook/preview-head.html @@ -18,7 +18,7 @@ document.addEventListener('DOMContentLoaded',() => {
};
const observer = new MutationObserver(callback);
- const config = { childList: true, subtree: false };
+ const config = { childList: true, subtree: true };
obser... | 3 |
diff --git a/packages/build/src/log/main.js b/packages/build/src/log/main.js @@ -24,7 +24,7 @@ ${EMPTY_LINE}`)
const logFlags = function(flags) {
const flagsA = filterObj(flags, isDefined)
if (Object.keys(flagsA).length !== 0) {
- log(cyanBright.bold(`${HEADING_PREFIX} Flags`), flagsA, '')
+ log(cyanBright.bold(`${HEAD... | 7 |
diff --git a/packages/nexrender-provider-ftp/src/index.js b/packages/nexrender-provider-ftp/src/index.js @@ -43,19 +43,40 @@ const upload = (job, settings, src, params) => {
}
return new Promise((resolve, reject) => {
- const file = fs.createReadStream(src);
- const con = new FTP();
+ // Read file
+ try{
+ const file =... | 7 |
diff --git a/pykeg/web/kegadmin/views.py b/pykeg/web/kegadmin/views.py #
import datetime
import os
+import re
import zipfile
import isodate
@@ -1067,6 +1068,10 @@ def link_device(request):
form = forms.LinkDeviceForm(request.POST)
if form.is_valid():
code = form.cleaned_data.get("code")
+ result = re.match("^([A-Z1-9]{... | 11 |
diff --git a/package.json b/package.json "mustache": "1.1.0",
"perfect-scrollbar": "git://github.com/CartoDB/perfect-scrollbar.git#master",
"postcss": "5.0.19",
- "tangram.cartodb": "0.5.3",
+ "tangram.cartodb": "~0.5.4",
"torque.js": "CartoDB/torque#master",
"underscore": "1.8.3"
},
| 4 |
diff --git a/Candles.js b/Candles.js let maxValue = {
x: MAX_PLOTABLE_DATE.valueOf(),
- y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary
+ y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary
};
continue
}
- if (onScreenCandles.length < 5000) {
+ //if (onScreenCandles.length ... | 11 |
diff --git a/app/scripts/controllers/address-book.js b/app/scripts/controllers/address-book.js @@ -14,8 +14,8 @@ class AddressBookController {
// PUBLIC METHODS
//
- setAddressList (address, name) {
- return this.addToAddressList(address, name)
+ setAddressBook (address, name) {
+ return this.addToAddressBook(address, ... | 10 |
diff --git a/assets/js/googlesitekit/datastore/user/user-info.test.js b/assets/js/googlesitekit/datastore/user/user-info.test.js @@ -119,7 +119,7 @@ describe( 'core/user userInfo', () => {
} ).toThrow( 'The isUserInputCompleted param is required.' );
} );
- it( 'receives and sets userInputData', async () => {
+ it( 're... | 10 |
diff --git a/articles/api-auth/tutorials/client-credentials/customize-with-hooks.md b/articles/api-auth/tutorials/client-credentials/customize-with-hooks.md ---
-description: Describes using rules with Client Credentials Grants.
+description: How to use Hooks to change the scopes and add custom claims to the tokens you... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.