code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/site/_data/contributors.js b/site/_data/contributors.js const got = require('got');
module.exports = async function() {
+ try {
const response = await got(
'https://api.github.com/repos/stefanjudis/tiny-helpers/contributors'
);
@@ -8,4 +9,7 @@ module.exports = async function() {
return JSON.parse(response.... | 9 |
diff --git a/package.json b/package.json "browserify-shim": "3.8.12",
"camshaft-reference": "0.32.0",
"carto": "cartodb/carto#master",
- "cartodb-deep-insights.js": "cartodb/deep-insights.js#12177-timeseries-context-menu",
+ "cartodb-deep-insights.js": "cartodb/deep-insights.js#master",
"cartodb-pecan": "0.2.x",
"carto... | 3 |
diff --git a/assets/js/modules/analytics/dashboard/dashboard-widget-top-level.js b/assets/js/modules/analytics/dashboard/dashboard-widget-top-level.js @@ -273,7 +273,7 @@ export default withData(
data: {
url: googlesitekit.permaLink,
},
- priority: 10,
+ priority: 1,
maxAge: getTimeInSeconds( 'hour' ),
context: 'Dashbo... | 13 |
diff --git a/scripts/cl_ui.lua b/scripts/cl_ui.lua +local isRDR = not TerraingridActivate and true or false
+local dismissKey
+local dismissKeyGroup
+if isRDR then
+ dismissKey = 0xD9D0E1C0
+ dismissKeyGroup = 1
+else
+ dismissKey = 22
+ dismissKeyGroup = 0
+end
+
function openWarning(author, reason, tTitle, tWarnedBy,... | 0 |
diff --git a/content/articles/build-react-calendar-library/index.md b/content/articles/build-react-calendar-library/index.md @@ -79,7 +79,7 @@ This may take a few minutes; wait for the installation of the development enviro
Your development environment will set up an application structure that looks like the one below.... | 1 |
diff --git a/data.js b/data.js @@ -549,6 +549,13 @@ module.exports = [
url: "https://github.com/VizuaaLOG/microlib-tabs",
source: "https://raw.githubusercontent.com/VizuaaLOG/microlib-tabs/master/dist/tabs.microlib-latest.js"
},
+ {
+ name: "Chaintastic",
+ tags: ["data", "functional", "chain"],
+ description: "Create ... | 0 |
diff --git a/avatars/vrarmik/ShoulderTransforms.js b/avatars/vrarmik/ShoulderTransforms.js @@ -11,12 +11,16 @@ class ShoulderTransforms {
this.neck = new THREE.Object3D();
this.head = new THREE.Object3D();
this.eyes = new THREE.Object3D();
+ this.eyel = new THREE.Object3D();
+ this.eyer = new THREE.Object3D();
this.hip... | 0 |
diff --git a/images/svg/disqus.svg b/images/svg/disqus.svg @@ -3,4 +3,4 @@ aria-label="Disqus" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
-fill="#fff"/><path fill="#2e9fff" d="M254 416c-39 0-75-14-103-38l-68 9 26-65A161 161 0 0 1 254 96c88 0 159 71 159 160s-71 160-159 160zm-3-80c57 0 90-34... | 4 |
diff --git a/packages/app/src/client/services/ContextExtractor.tsx b/packages/app/src/client/services/ContextExtractor.tsx @@ -14,7 +14,6 @@ import {
const { isTrashPage: _isTrashPage } = pagePathUtils;
const jsonNull = 'null';
-const dateNull = 'null';
const ContextExtractorOnce: FC = () => {
@@ -32,7 +31,16 @@ const ... | 12 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -205,8 +205,14 @@ module.exports = function (grunt) {
},
// https://stackoverflow.com/a/47304117/865175
run: {
- buildTranslations: {
- exec: 'npm run buildTranslations --silent'
+ buildMain: {
+ exec: 'npm run buildMain --silent'
+ },
+ buildBrowser: {
+ exec: 'npm run build... | 4 |
diff --git a/src/WebMidi.js b/src/WebMidi.js @@ -332,7 +332,7 @@ class WebMidi extends EventEmitter {
*/
getInputById(id) {
- if (WebMidi.validation) {
+ if (this.validation) {
if (!this.enabled) throw new Error("WebMidi is not enabled.");
if (!id) return false;
}
@@ -362,7 +362,7 @@ class WebMidi extends EventEmitter ... | 4 |
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "",
"license": "ISC",
"dependencies": {
- "@hkube/nodejs-wrapper": "^2.0.38"
+ "@hkube/nodejs-wrapper": "^2.0.39"
},
"devDependencies": {}
}
\ No newline at end of fil... | 3 |
diff --git a/test/jasmine/tests/hover_label_test.js b/test/jasmine/tests/hover_label_test.js @@ -4728,7 +4728,7 @@ describe('hovermode: (x|y)unified', function() {
.then(done, done.fail);
});
- it('shares filtering logic with compare mode x', function(done) {
+ it('filtering logic for compare mode x', function(done) {
... | 0 |
diff --git a/src/styles/brackets.less b/src/styles/brackets.less @@ -1695,7 +1695,11 @@ a, img {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left: none;
- border-right: 1px solid #b2b5b5;
+ border-right: 1px solid @bc-btn-border;
+
+ .dark & {
+ border-right-color: @dark-bc-btn-border;
+ }
}
/... | 4 |
diff --git a/source/types/contracts/Types.sol b/source/types/contracts/Types.sol @@ -70,7 +70,8 @@ library Types {
"bytes4 kind,",
"address wallet,",
"address token,",
- "uint256 param",
+ "uint256 amount",
+ "uint256 id",
")"
));
@@ -79,7 +80,8 @@ library Types {
"bytes4 kind,",
"address wallet,",
"address token,",
- ... | 3 |
diff --git a/src/components/topic/create/TopicForm.js b/src/components/topic/create/TopicForm.js @@ -129,7 +129,8 @@ const asyncValidate = (values, dispatch) => (
dispatch(fetchTopicSearchResults(values.name))
.then((results) => {
if (results.topics && (results.topics.length !== 0) &&
- (values.topicId && (results.topi... | 9 |
diff --git a/package.json b/package.json "github": {
"release": true,
"tokenRef": "RELEASE_IT_GITHUB_TOKEN",
- "releaseNotes": "npm run auto-changelog --stdout --commit-limit false -u --template ./changelog.hbs",
+ "releaseNotes": "npx auto-changelog --stdout --commit-limit false -u --template ./changelog.hbs",
"____co... | 14 |
diff --git a/src/renderer/layer/tilelayer/TileLayerGLRenderer.js b/src/renderer/layer/tilelayer/TileLayerGLRenderer.js @@ -90,7 +90,11 @@ class TileLayerGLRenderer extends ImageGLRenderable(TileLayerCanvasRenderer) {
}
getCanvasImage() {
- if (this._gl() && this.isCanvasUpdated()) {
+ if (!this._gl()) {
+ return super.... | 3 |
diff --git a/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/BaseNDCompass.js b/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/BaseNDCompass.js @@ -332,8 +332,8 @@ class Jet_NDCompass extends HTMLElement {
l... | 1 |
diff --git a/token-metadata/0xBC86727E770de68B1060C91f6BB6945c73e10388/metadata.json b/token-metadata/0xBC86727E770de68B1060C91f6BB6945c73e10388/metadata.json "symbol": "XNK",
"address": "0xBC86727E770de68B1060C91f6BB6945c73e10388",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/tests/part_tests.js b/tests/part_tests.js @@ -546,12 +546,10 @@ Numbas.queueScript('go',['json','jme','localisation','parts/numberentry','parts/
q.signals.on('ready', function() {
q.allParts().forEach(function(p) {
p.json.unitTests.forEach(function(test) {
- console.log(test);
QUnit.test(test.name, functio... | 12 |
diff --git a/src/components/colorscale/scales.js b/src/components/colorscale/scales.js @@ -126,4 +126,16 @@ module.exports = {
[0.8784313725490196, '#addc30'], [0.9411764705882353, '#d8e219'],
[1, '#fde725']
]
+
+ 'Cividis': [
+ [0.000000, 'rgb(0,32,76)'], [0.058824, 'rgb(0,42,102)'],
+ [0.117647, 'rgb(0,52,110)'], [0.... | 0 |
diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json },
"sidebar": {
"info": {
- "name": "Node information",
+ "name": "Information",
"tabName": "Name",
"label": "info",
"node": "Node",
| 10 |
diff --git a/metaverse_modules/land/index.js b/metaverse_modules/land/index.js -// import * as THREE from 'three';
+import * as THREE from 'three';
import metaversefile from 'metaversefile';
-const {useApp, useCleanup} = metaversefile;
+const {useApp, useLocalPlayer, useCamera, useProcGenManager, useFrame, useCleanup} ... | 0 |
diff --git a/src/ArcgisAccount/ArcgisAccount.js b/src/ArcgisAccount/ArcgisAccount.js @@ -45,15 +45,20 @@ class ArcgisAccount extends Component {
});
};
- _getThumbnail = (user, token) => {
+ _getThumbnail = (user, token, portal) => {
const { username, thumbnail } = user;
const _token = token || '';
- return `https://ww... | 11 |
diff --git a/src/tests/controllers/tribe.test.ts b/src/tests/controllers/tribe.test.ts import test, { ExecutionContext } from 'ava'
import nodes from '../nodes'
import { leaveTribe, deleteTribe } from '../utils/del'
-import { createTribe, joinTribe } from '../utils/save'
+import { createTribe, joinTribe, updateProfile ... | 0 |
diff --git a/index.d.ts b/index.d.ts @@ -521,7 +521,7 @@ declare namespace Moleculer {
disconnected(): void;
}
- class Context<P = any, M extends object = Record<any, any>> {
+ class Context<P = unknown, M extends object = {}> {
constructor(broker: ServiceBroker, endpoint: Endpoint);
id: string;
broker: ServiceBroker;
| 13 |
diff --git a/assets/js/modules/adsense/common/account-select.test.js b/assets/js/modules/adsense/common/account-select.test.js @@ -69,8 +69,7 @@ describe( 'AccountSelect', () => {
} );
it( 'should update accountID in the store when a new item is clicked', async () => {
- const tt = render( <AccountSelect />, { setupReg... | 2 |
diff --git a/src/manage/settings.js b/src/manage/settings.js @@ -42,11 +42,7 @@ class Settings extends React.Component {
type="password"
readOnly
defaultValue={this.state.secret}
- actions={[
- { icon: 'copy', method: dummyFn },
- { icon: 'copy', method: dummyFn },
- { icon: 'copy', method: dummyFn }
- ]}
+ actions={[{... | 4 |
diff --git a/src/apps.json b/src/apps.json },
"Octopress": {
"cats": [
+ 1,
11
],
- "html": "Powered by <a href=\"http://octopress.org\">Octopress",
+ "html": "Powered by <a href=\"http://octopress.org\">",
+ "implies": "Jekyll",
+ "meta": {
+ "generator": "Octopress"
+ },
"icon": "octopress.png",
"website": "octopress... | 7 |
diff --git a/Documentation/Contributors/CodingGuide/README.md b/Documentation/Contributors/CodingGuide/README.md @@ -327,6 +327,7 @@ byteOffset += sizeOfUint32; // Skip length field
- `TODO` comments need to be removed or addressed before the code is merged into main. Used sparingly, `PERFORMANCE_IDEA`, can be handy la... | 3 |
diff --git a/src/android/java/io/jxcore/node/JXcoreExtension.java b/src/android/java/io/jxcore/node/JXcoreExtension.java @@ -758,6 +758,9 @@ public class JXcoreExtension implements SurroundingStateObserver {
final ArrayList<Object> args = new ArrayList<Object>();
String errorString = null;
+ if (!isRadioOn()) {
+ error... | 0 |
diff --git a/LICENSE b/LICENSE The MIT License (MIT)
-Copyright (c) 2015-2017 Oli Folkerd
+Copyright (c) 2015-2018 Oli Folkerd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
| 3 |
diff --git a/views/index.pug b/views/index.pug @@ -79,7 +79,4 @@ block content
include _partials/jscode.pug
- p
- a(href='https://www.maxcdn.com/blog/bootstrapcdn-subresource-integrity/', target='_blank', rel='noopener') Why BootstrapCDN believes in Subresource Integrity (SRI)
-
//- vim: ft=pug sw=4 sts=4 et:
| 2 |
diff --git a/examples/py/cli.py b/examples/py/cli.py @@ -110,23 +110,17 @@ if argv.exchange_id not in ccxt.exchanges:
if argv.exchange_id in keys:
config.update(keys[argv.exchange_id])
-# check auth keys in env var if not in keys file
-apiKeyID = 'apiKey'
-if apiKeyID not in config:
- apiKeyVar = (argv.exchange_id + '_... | 7 |
diff --git a/generators/generator-constants.js b/generators/generator-constants.js @@ -63,7 +63,7 @@ const DOCKER_MSSQL = 'mcr.microsoft.com/mssql/server:2017-latest-ubuntu';
const DOCKER_NEO4J = 'neo4j:4.0.4';
const DOCKER_HAZELCAST_MANAGEMENT_CENTER = 'hazelcast/management-center:3.12.9'; // waiting for https://githu... | 3 |
diff --git a/src/i18next.js b/src/i18next.js @@ -278,7 +278,7 @@ class I18n extends EventEmitter {
return new I18n(options, callback);
}
- cloneInstance(options = {}, callback) {
+ cloneInstance(options = {}, callback = noop) {
let clone = new I18n({...options, ...this.options, ...{isClone: true}}, callback);
const mem... | 4 |
diff --git a/services/integration-content-repository/k8s/deployment.yaml b/services/integration-content-repository/k8s/deployment.yaml @@ -30,7 +30,7 @@ spec:
- name: "INTROSPECT_TYPE"
value: "basic"
- name: "INTROSPECT_ENDPOINT_BASIC"
- value: "https://iam.openintegrationhub.com/api/v1/tokens/introspect"
+ value: "htt... | 1 |
diff --git a/patrons.md b/patrons.md Meet some of the outstanding guys that support `mojs` on [Patreon](https://patreon.com/user?u=3219311&utm_medium=social&utm_source=twitter&utm_campaign=creatorshare):
- [Zak Frisch](https://github.com/zfrisch)
+- [Erhan Karadeniz](https://twitter.com/erhankaradeniz)
+- [Jorge Antune... | 3 |
diff --git a/lib/bal/api.js b/lib/bal/api.js @@ -5,7 +5,7 @@ import HttpError from '../http-error'
const {publicRuntimeConfig} = getConfig()
-export const BACKEND_URL = publicRuntimeConfig.BACKEND_URL || 'https://adresse.data.gouv.fr/backend'
+export const BACKEND_URL = publicRuntimeConfig.BACKEND_URL || 'http://localh... | 14 |
diff --git a/assets/js/modules/analytics/wp-dashboard/wp-dashboard-widget-top-pages-table.js b/assets/js/modules/analytics/wp-dashboard/wp-dashboard-widget-top-pages-table.js @@ -42,11 +42,6 @@ class WPAnalyticsDashboardWidgetTopPagesTable extends Component {
return null;
}
- const headers = [
- __( 'URL', 'google-site... | 2 |
diff --git a/react/src/components/card/SprkCard.stories.js b/react/src/components/card/SprkCard.stories.js @@ -523,8 +523,9 @@ export const fourUpCards = () => (
<SprkStackItem>
<SprkText variant="bodyTwo">
- Lorem ipsum dolor sit amet, doctus invenirevix te. Facilisi
- perpetua.
+ This Lorem ipsum dolor sit amet, doct... | 3 |
diff --git a/core/field_bound_variable.js b/core/field_bound_variable.js @@ -386,7 +386,9 @@ Blockly.FieldBoundVariable.prototype.highlightVariables_ = function(on, e) {
if (!this.variable_) {
return;
}
- // TODO(harukam): Ignore events if the block is being dragged.
+ if (this.sourceBlock_.workspace.isDragging()) {
+ ... | 8 |
diff --git a/src/middleware/packages/activitypub/services/activity-mapping.js b/src/middleware/packages/activitypub/services/activity-mapping.js @@ -30,6 +30,9 @@ const ActivityMappingService = {
// If we have a match...
if (dereferencedActivity) {
+ // If mapping is false, we want the activity to be ignored
+ if( mapp... | 7 |
diff --git a/src/views/navbar/style.js b/src/views/navbar/style.js @@ -4,7 +4,6 @@ import { Transition, FlexRow } from '../../components/globals';
import { Avatar } from '../../components/avatar';
export const UserProfileAvatar = styled(Avatar)`
- margin-top: 8px;
border: 1px solid ${({ theme }) => theme.text.default};... | 1 |
diff --git a/source/popup/components/MainPage.js b/source/popup/components/MainPage.js @@ -20,6 +20,11 @@ const ArchiveShape = PropTypes.shape({
state: PropTypes.oneOf(["locked", "unlocked", "pending"]).isRequired
});
+const Container = styled.div`
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+`;
const ArchiveLis... | 12 |
diff --git a/src/components/networked.js b/src/components/networked.js @@ -42,7 +42,7 @@ AFRAME.registerComponent('networked', {
this.conversionEuler = new THREE.Euler();
this.conversionEuler.order = "YXZ";
- this.interpolationBuffers = [];
+ this.bufferInfos = [];
this.bufferPosition = new THREE.Vector3();
this.buffer... | 4 |
diff --git a/contracts/MixinResolver.sol b/contracts/MixinResolver.sol pragma solidity ^0.5.16;
-// Inheritance
-import "./Owned.sol";
-
// Internal references
import "./AddressResolver.sol";
-import "./ReadProxy.sol";
// https://docs.synthetix.io/contracts/source/contracts/mixinresolver
contract MixinResolver {
| 2 |
diff --git a/package.json b/package.json "build-src": "node scripts/build.js src",
"prepublish": "npm run build",
"test": "npm run jshint -s && npm run mocha -s && npm run test-components -s && npm run test-components-deprecated -s",
- "test-ci": "npm run test-generate-coverage && npm run build && NODE_ENV=development ... | 4 |
diff --git a/tests/mocha/workspace_svg_test.js b/tests/mocha/workspace_svg_test.js @@ -112,11 +112,6 @@ suite('WorkspaceSvg', function() {
this.workspace.updateToolbox({'contents': []});
}.bind(this), 'Existing toolbox has categories. Can\'t change mode.');
});
- test('Passing in string as toolboxdef', function() {
- v... | 2 |
diff --git a/views/login.blade.php b/views/login.blade.php class="form-text text-danger d-none"></div>
</div>
- <div class="checkbox">
- <label for="stay_logged_in">
+ <div class="form-group mt-n2">
+ <div class="custom-control custom-checkbox">
<input type="checkbox"
- id="stay_logged_in"
- name="stay_logged_in"> {{ $... | 4 |
diff --git a/src/modules/TimeScale.js b/src/modules/TimeScale.js @@ -532,6 +532,18 @@ class TimeScale {
unit = 'month'
date = firstVal.minDate
numberOfDays++
+ } else if (
+ firstVal.minDate !== 1 &&
+ firstVal.minHour === 0 &&
+ firstVal.minMinute === 0
+ ) {
+ // fixes apexcharts/apexcharts.js/issues/1730
+ firstTick... | 1 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -32,6 +32,7 @@ import * as postProcessing from './post-processing.js';
import {makeId, getRandomString, getPlayerPrefix} from './util.js';
import JSON6 from 'json-6';
import {rarityColors, initialPosY} from './constants.js';
+import * as materials from './mate... | 0 |
diff --git a/src/components/core/update/updateAutoHeight.js b/src/components/core/update/updateAutoHeight.js -export default function () {
+export default function (speed) {
const swiper = this;
const activeSlides = [];
let newHeight = 0;
let i;
-
+ if (typeof speed === 'number') {
+ swiper.setTransition(speed);
+ } el... | 0 |
diff --git a/packages/spark/spark.js b/packages/spark/spark.js // Import all Spark components
-import { hugeTextInput } from './base/hugeTextInput';
+import { hugeInput } from './base/hugeInput';
import { ssnInput } from './base/ssnInput';
import passwordInput from './base/passwordInput';
import { monetaryInput } from ... | 3 |
diff --git a/src/components/AttachmentModal.js b/src/components/AttachmentModal.js @@ -87,23 +87,9 @@ class AttachmentModal extends PureComponent {
this.submitAndClose = this.submitAndClose.bind(this);
this.closeConfirmModal = this.closeConfirmModal.bind(this);
this.validateAndDisplayFileToUpload = this.validateAndDisp... | 10 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/analyses/analyses-view.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/analyses/analyses-view.js @@ -32,6 +32,7 @@ module.exports = CoreView.extend({
checkAndBuildOpts(opts, REQUIRED_OPTS, this);
this._select... | 2 |
diff --git a/src/js/operations/IP.js b/src/js/operations/IP.js @@ -209,6 +209,22 @@ var IP = {
output += "\nThis is a reserved multicast address.";
output += "\nMulticast addresses range: ff00::/8";
}
+
+
+ // Detect possible EUI-64 addresses
+ if ((ipv6[5] & 0xff === 0xff) && (ipv6[6] >>> 8 === 0xfe)) {
+ output += "\... | 0 |
diff --git a/spec/services/carto/user_metadata_export_service_spec.rb b/spec/services/carto/user_metadata_export_service_spec.rb @@ -154,7 +154,7 @@ describe Carto::UserMetadataExportService do
after :each do
if @search_tweets
@search_tweets.each do |st|
- st.data_import.destroy
+ st.data_import.try(:destroy)
st.destro... | 1 |
diff --git a/.vscode/launch.json b/.vscode/launch.json {
"version": "0.2.0",
"configurations": [
- {
- "type": "node",
- "request": "launch",
- "name": "Launch LUISAmir",
- "program": "${workspaceFolder}\\packages\\LUIS\\bin\\luis.js",
- "args": [
- "add",
- "appazureaccount",
- "--in",
- "C:\\Users\\amgeo\\Desktop\\ac... | 13 |
diff --git a/generators/server/templates/src/main/docker/cassandra/scripts/autoMigrate.sh.ejs b/generators/server/templates/src/main/docker/cassandra/scripts/autoMigrate.sh.ejs @@ -69,7 +69,7 @@ if [ "$#" -gt 0 ]; then
fi
CREATE_KEYSPACE_SCRIPT_FOLDER="$(dirname $CQL_FILES_PATH)"
SCRIPT_DIR="$( cd "$( dirname "${BASH_S... | 1 |
diff --git a/scripts/build.sh b/scripts/build.sh @@ -8,6 +8,15 @@ test -n "$v" || {
echo 'E: could not determine version'
exit 1
}
+if [[ $v = +([0-9]).+([0-9]).+([0-9])-* ]]; then
+ rv=${v%%-*}
+ IFS=.
+ set -A rv -- $rv
+ IFS=$' \t\n'
+ rv=$1.$2.$(($3-1))
+else
+ rv=$v
+fi
rm -f LICENCE.js
{
@@ -15,7 +24,7 @@ rm -f L... | 9 |
diff --git a/lib/node_modules/@stdlib/math/base/special/ceil/test/test.js b/lib/node_modules/@stdlib/math/base/special/ceil/test/test.js @@ -6,6 +6,8 @@ var tape = require( 'tape' );
var PINF = require( '@stdlib/math/constants/float64-pinf' );
var NINF = require( '@stdlib/math/constants/float64-ninf' );
var isnan = req... | 4 |
diff --git a/data.js b/data.js // See examples below.
module.exports = [
+ {
+ name: "VP PubSub",
+ github: "schubergphilis/vp-pubsub",
+ tags: ["pubsub", "publish", "subscribe", "message", "pub", "sub", "emitter", "event"],
+ description: "VP PubSub is a publish/subscribe library that supports message filtering",
+ ur... | 0 |
diff --git a/server/index.js b/server/index.js @@ -11,9 +11,13 @@ const enableHelmet = process.env.ENABLE_HELMET === '1'
const app = next({dev})
const handle = app.getRequestHandler()
+const {prepareContoursCommunes} = require('../lib/util/contours-communes')
+
app.prepare().then(() => {
const server = express()
+ prep... | 6 |
diff --git a/_projects/KombuchaGenomics/KombuchaGenomics.md b/_projects/KombuchaGenomics/KombuchaGenomics.md @@ -25,7 +25,9 @@ This is collaborative project for community labs globally, hosted by Counter Cul
## Participating Community Labs
+ [Counter Culture Labs](http://sphere.diybio.org/labs/CounterCultureLabs/Counte... | 0 |
diff --git a/src/entities/entityRenderers.js b/src/entities/entityRenderers.js @@ -40,13 +40,8 @@ function journalArticleRenderer($$, entityId, entityDb) {
if (entity.doi) {
fragments.push(
- $$('a').attr({
- href: `http://dx.doi.org/${entity.doi}`,
- target: '_blank'
- }).append(
- ' doi ',
- entity.doi
- )
+ ' ',
+ _... | 7 |
diff --git a/js/atb.js b/js/atb.js @@ -148,14 +148,6 @@ var ATB = (() => {
ATB.inject();
}
-
- /* not being used right now
- startUpPage: () => {
- if (!chrome.extension.inIncognitoContext) {
- chrome.tabs.create({url: "/html/intro.html"});
- }
- }
- */
}
})();
| 2 |
diff --git a/packages/app/src/components/Admin/AdminHome/AdminHome.jsx b/packages/app/src/components/Admin/AdminHome/AdminHome.jsx @@ -36,8 +36,6 @@ const AdminHome = (props) => {
const { isV5Compatible } = adminHomeContainer.state;
- let alertStyle = 'alert-info';
- if (isV5Compatible == null) alertStyle = 'alert-warn... | 7 |
diff --git a/gulpfile.js b/gulpfile.js @@ -162,6 +162,10 @@ exports.loadProxyTests = parallel(loadProxyTestInspector, loadProxyTestData,
exports.generateProxyTests = parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests);
exports.generateProxyDocTests = proxyDocTests;
exports.runProxyTests = runProxyTest... | 0 |
diff --git a/components/mapbox/ban-map/index.js b/components/mapbox/ban-map/index.js @@ -59,13 +59,13 @@ function BanMap({map, isSourceLoaded, popup, address, setSources, setLayers, onS
cb(feature.properties)
}
- const centerAddress = () => {
+ const centerAddress = useCallback(() => {
if (address && !isCenterControlDi... | 0 |
diff --git a/dist/js/tabulator.js b/dist/js/tabulator.js @@ -15701,11 +15701,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
this.headerFilters = {};
- var oldHeaderFilterColumns = this.headerFilterColumns;
- this.headerFilterColumns = [];
- this.headerFilterElements = [];
-
- oldH... | 13 |
diff --git a/js/hoverzoom.js b/js/hoverzoom.js @@ -1462,7 +1462,7 @@ var hoverZoom = {
headers: new Headers({
'Origin': location.origin
}),
- mode: 'cors'
+ mode: 'no-cors'
})
.then(response => response.blob())
.then(blob => {
| 12 |
diff --git a/events.json b/events.json "commune": ""
},
"href": "",
- "instructions": "Inscriptions closes",
+ "isSubscriptionClosed": true,
+ "instructions": "",
"startHour": "14:00",
"endHour": "15:30"
},
"commune": ""
},
"href": "",
+ "isSubscriptionClosed": true,
"instructions": "",
"startHour": "14:00",
"endHour":... | 7 |
diff --git a/src/routes/AppRouter.js b/src/routes/AppRouter.js @@ -8,12 +8,12 @@ import Detail from '../components/CountryDetails/Detail';
export default props => {
const regions = [
- "/africa",
- "/americas",
- "/asia",
- "/europe",
- "/oceania",
- "/polar"
+ "/travel-guide/africa",
+ "/travel-guide/americas",
+ "/tr... | 1 |
diff --git a/core/bound_variable_value.js b/core/bound_variable_value.js @@ -157,7 +157,6 @@ Blockly.BoundVariableValue.prototype.dispose = function(opt_removeReference) {
if (this.referenceList_.length == 0) {
if (this.sourceBlock_) {
- this.sourceBlock_.typedValue[this.mainFieldName_];
Blockly.BoundVariables.removeVa... | 2 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-footer/sprk-footer.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-footer/sprk-footer.component.ts @@ -28,7 +28,7 @@ import { Component, Input } from '@angular/core';
<sprk-link
linkType="plain"
href="{{ item.href }}"
- analyticsS... | 3 |
diff --git a/stories/index.js b/stories/index.js -import React from 'react';
+import React, { Component } from 'react';
import { storiesOf, action, linkTo } from '@kadira/storybook';
import withContext from 'recompose/withContext';
import { connect } from 'react-redux';
@@ -389,6 +389,121 @@ storiesOf('Cell', module)
<... | 0 |
diff --git a/protocols/peer/test/Peer-unit.js b/protocols/peer/test/Peer-unit.js @@ -192,12 +192,11 @@ contract('Peer Unit Tests', async accounts => {
})
describe('Test setTakerWallet', async () => {
- // it('Test unsetRule permissions', async () => {
- // await reverted(
- // peer.unsetRule(TAKER_TOKEN, MAKER_TOKEN, {... | 12 |
diff --git a/app.rb b/app.rb @@ -74,7 +74,7 @@ get '/launches/upcoming' do
content_type :json
year = "upcoming"
statement = DB.prepare("SELECT * FROM launch WHERE launch_year = ?")
- results = statement.execute(year)
+ results = statement.execute(year, :cast_booleans => true)
hash = results.each do |row|
end
if hash.em... | 12 |
diff --git a/tags/tags.json b/tags/tags.json "a16z": {
"name": "A16Z",
"description": "Tokens backed by Andreesen-Horrowitz"
+ },
+ "oracle": {
+ "name": "Oracles",
+ "description": "Tokens associated with decentralized oracle infrastructure"
+ },
+ "defi": {
+ "name": "DeFi",
+ "description": "Tokens associated with t... | 2 |
diff --git a/example/src/components/CustomIcon.js b/example/src/components/CustomIcon.js @@ -30,6 +30,7 @@ class CustomIcon extends React.Component {
};
this.onPress = this.onPress.bind(this);
+ this.onSourceLayerPress = this.onSourceLayerPress.bind(this);
}
async onPress(e) {
@@ -41,6 +42,11 @@ class CustomIcon extend... | 3 |
diff --git a/test/jasmine/tests/gl3dlayout_test.js b/test/jasmine/tests/gl3dlayout_test.js @@ -168,33 +168,33 @@ describe('Test Gl3d layout defaults', function() {
layoutIn = { scene: {} };
supplyLayoutDefaults(layoutIn, layoutOut, fullData);
expect(layoutOut.scene.dragmode)
- .toBe('orbit', 'to orbit by default');
+ .... | 13 |
diff --git a/SuspiciousVotingHelper.user.js b/SuspiciousVotingHelper.user.js // @description Assists in building suspicious votes CM messages. Highlight same users across IPxref table.
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.0.8
+// @version 1.1
//
// @include https... | 11 |
diff --git a/components/combobox/__examples__/dialog.jsx b/components/combobox/__examples__/dialog.jsx @@ -3,6 +3,7 @@ import React from 'react';
import Checkbox from '~/components/checkbox';
import Combobox from '~/components/combobox';
import IconSettings from '~/components/icon-settings';
+import Popover from '~/com... | 3 |
diff --git a/src/compiler/nodes.imba1 b/src/compiler/nodes.imba1 @@ -3745,7 +3745,13 @@ export class MethodDeclaration < Func
if option(:inClassBody) or option(:inObject)
# what if this is async?
- let prefix = self.isGetter() ? 'get ' : (self.isSetter() ? 'set ' : '')
+ let prefix = ''
+ if self.isGetter
+ prefix = M(... | 7 |
diff --git a/scripts/test-isolated.js b/scripts/test-isolated.js @@ -47,13 +47,14 @@ const initialSetupDeferred = !inputOptions.skipFsCleanupCheck
? initialGitStatusDeferred
: Promise.resolve();
+const cwdPathLength = process.cwd().length + 1;
const paths = mochaCollectFiles({
ignore: [],
extension: ['js'],
file: [],
r... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## vNext
+## 0.8.1
+
### Features
-- Make it possible to provide simple skins via `ThemeProvider`
+- Provide simple skins by default via `ThemeProvider` but allow customization
[PR 96](https://github.com/input-output-hk/react-polymorph/pull/96)
## 0.8.0
| 6 |
diff --git a/bin/definition-validators/path.js b/bin/definition-validators/path.js @@ -25,6 +25,8 @@ function PathObject(data) {
const { major } = data;
Object.assign(this, {
+ type: 'object',
+ properties: {
summary: {
type: 'string'
},
@@ -52,5 +54,6 @@ function PathObject(data) {
type: 'array',
items: Parameter
}
+ ... | 1 |
diff --git a/lib/components/helpers/choices.js b/lib/components/helpers/choices.js @@ -283,7 +283,7 @@ module.exports = React.createClass({
} else if (_.isNull(choice.sectionKey)) {
isInSection = false;
}
- if (choice.value && choice.value.match(magicChoiceRe)) {
+ if (choice.value && String(choice.value).match(magicCh... | 1 |
diff --git a/test/unit/helpers/vuex-setup.js b/test/unit/helpers/vuex-setup.js @@ -8,16 +8,15 @@ const Modules = require('renderer/vuex/modules').default
const Getters = require('renderer/vuex/getters')
export default function vuexSetup () {
- const node = require('../helpers/node_mock')
- const modules = Modules({
- n... | 1 |
diff --git a/ReduceClutter.user.js b/ReduceClutter.user.js // @description Revert recent changes that makes the page more cluttered
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.18.2
+// @version 1.18.3
//
// @include https://*stackoverflow.com/*
// @include https://*serv... | 2 |
diff --git a/cmd.js b/cmd.js #!/usr/bin/env node
const argv = require("minimist")(process.argv.slice(2));
const EleventyNodeVersionCheck = require("./src/VersionCheck");
+const debug = require("debug")("Eleventy-CLI");
EleventyNodeVersionCheck().then(function() {
const Eleventy = require("./src/Eleventy");
+ debug(
+ "... | 0 |
diff --git a/packages/react-router/docs/api/hooks.md b/packages/react-router/docs/api/hooks.md @@ -140,3 +140,13 @@ function BlogPost() {
return <div />;
}
```
+
+The `useRouteMatch` hook takes a single argument, which is identical to [props argument of matchPath](./matchPath.md#props). It can be either a pathname as a... | 0 |
diff --git a/build/release-notes/avalanchego.md b/build/release-notes/avalanchego.md {% page-ref page="../tutorials/nodes-and-staking/upgrade-your-avalanchego-node.md" %}
-## [v1.6.5](https://github.com/ava-labs/avalanchego/releases/tag/v1.6.5)
+## v1.6.5 ([View on GitHub](https://github.com/ava-labs/avalanchego/releas... | 4 |
diff --git a/src/os/ui/menu/layermenu.js b/src/os/ui/menu/layermenu.js @@ -198,7 +198,7 @@ os.ui.menu.layer.setup = function() {
children: [{
label: 'Export...',
eventType: os.action.EventType.EXPORT,
- tooltip: 'Repositions the map to show the layer',
+ tooltip: 'Exports data from this layer',
icons: ['<i class="fa fa... | 1 |
diff --git a/src/compiler/nodes.imba1 b/src/compiler/nodes.imba1 @@ -4662,6 +4662,7 @@ export class Access < Op
var rgtexpr = null
if lft isa VarOrAccess and lft.@variable isa ImportProxy
+ unless lft.@variable isa ImbaRuntime and STACK.tsc
return lft.@variable.access(rgt).c
if rgt isa Token
@@ -5849,12 +5850,14 @@ exp... | 7 |
diff --git a/packages/eslint-plugin/rules/jsdoc-requires-since.test.js b/packages/eslint-plugin/rules/jsdoc-requires-since.test.js @@ -41,14 +41,7 @@ ruleTester.run( 'jsdoc-requires-since', rule, {
* A function that returns a string, to test out ESLint.
*
* @since 1.7.1
- * @private
- *
- * @param {?Object} props Compo... | 2 |
diff --git a/generators/server/templates/src/main/docker/jib/entrypoint.sh.ejs b/generators/server/templates/src/main/docker/jib/entrypoint.sh.ejs -#!/bin/sh
+#!/bin/bash
echo "The application will start in ${JHIPSTER_SLEEP}s..." && sleep ${JHIPSTER_SLEEP}
+
+# usage: file_env VAR [DEFAULT]
+# ie: file_env 'XYZ_DB_PASS... | 11 |
diff --git a/lib/plugins/login/login.js b/lib/plugins/login/login.js @@ -55,7 +55,7 @@ class Login {
const version = this.serverless.version;
const state = `id%3D${frameworkId}%26version%3D${version}%26platform%3D${process.platform}`;
// refresh token docs https://auth0.com/docs/tokens/preview/refresh-token#get-a-refre... | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.