code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/package.json b/package.json "all": "npm run lint && npm run test && npm run accept",
"accept": "npm run compile && accept/run",
"babel-watch": "babel src -d dist --watch --source-maps",
- "coverage": "babel-node node_modules/.bin/babel-istanbul cover _mocha test/app test/cli test/cmd test/integration test/... | 14 |
diff --git a/src/index.ts b/src/index.ts @@ -323,7 +323,7 @@ export async function install(
export async function cli(args: string[]) {
const {help, sourceMap, optimize = false, strict = false, clean = false, dest = 'web_modules', remoteUrl = 'https://cdn.pika.dev', remotePackage: remotePackages = []} = yargs(args);
- ... | 14 |
diff --git a/docs/src/pages/options/installing-icon-libraries.md b/docs/src/pages/options/installing-icon-libraries.md @@ -10,7 +10,7 @@ related:
**This page refers to using [webfont icons](/vue-components/icon#webfont-icons) only.** Svg icons do not need any installation step.
:::
-You'll most likely want icons in you... | 1 |
diff --git a/package.json b/package.json "test:unit": "cross-env NODE_ENV=mochatest npx karma start --single-run",
"test:stories": "npm run test:dom-snapshot && npm run test:accessibility",
"test:dom-snapshot": "cross-env NODE_ENV=test npx jest --runInBand --config=tests/story-based-tests.dom-snapshot-test.config.json"... | 1 |
diff --git a/test/test-utils/src/abacus-client.js b/test/test-utils/src/abacus-client.js @@ -127,7 +127,12 @@ const waitUntilUsageIsProcessed = (token, documentUrlLocation, callback) => {
request.get(documentUrlLocation, {
headers: getHeaders(token)
}, (err, res) => {
- if (res.statusCode && res.statusCode === httpStat... | 9 |
diff --git a/contracts/Proxy.sol b/contracts/Proxy.sol @@ -109,7 +109,6 @@ contract Proxy is Owned {
if iszero(result) { revert(free_ptr, returndatasize) }
return(free_ptr, returndatasize)
}
- //target.setMessageSender(0);
}
modifier onlyTarget {
| 2 |
diff --git a/articles/clients/client-grant-types.md b/articles/clients/client-grant-types.md @@ -101,7 +101,7 @@ By default, Public Clients are created with the following `grant_types`:
* `refresh_token`
::: note
-Public clients **cannot** utilize the `client_credentials` grant type. To add this grant type to a Client ... | 0 |
diff --git a/package.json b/package.json "babel-plugin-es6-promise": "1.0.0",
"babel-plugin-transform-object-assign": "6.8.0",
"babel-plugin-transform-proto-to-assign": "6.9.0",
- "babel-plugin-yo-yoify": "0.4.0",
+ "babel-plugin-yo-yoify": "0.6.0",
"babel-polyfill": "6.9.1",
"babel-preset-es2015": "6.24.0",
"babel-reg... | 3 |
diff --git a/src/tools/auth0/handlers/logStreams.ts b/src/tools/auth0/handlers/logStreams.ts @@ -9,7 +9,7 @@ export const schema = {
id: { type: 'string' },
type: { type: 'string' },
name: { type: 'string' },
- status: { type: 'string', enum: ['active', 'paused'] },
+ status: { type: 'string', enum: ['active', 'paused'... | 11 |
diff --git a/templates/small_site_profile_map.html b/templates/small_site_profile_map.html -<!-- <div id="map"></div> -->
<script>
- function initMap() {
- // The map, centered at Uluru
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 3,
- center: locations[0] ? locations[0] : { lat: 0, lng: 0 ... | 14 |
diff --git a/lib/helpers/initialize_keystore.js b/lib/helpers/initialize_keystore.js @@ -55,7 +55,13 @@ you are expected to provide your own during provider#initialize');
}
const keystore = await getKeyStore(conf);
- assert(keystore.get({ use: 'sig', alg: 'RS256' }), 'RS256 signing must be supported but no viable key w... | 11 |
diff --git a/src/js/services/nanoService.js b/src/js/services/nanoService.js @@ -470,7 +470,7 @@ angular.module('canoeApp.services')
// aliasService.lookupAddress(account.id, function (err, ans) {
// if (err) {
// $log.debug(err)
- // root.setWallet(wallet, cb)
+ root.setWallet(wallet, cb)
// } else {
// $log.debug('An... | 1 |
diff --git a/src/util/videoUtils.ts b/src/util/videoUtils.ts @@ -7,13 +7,6 @@ import { GEHelper } from '../graphicEngine/GEHelper';
import VideoWorker from './workers/video.worker.ts';
import { clamp } from 'lodash';
-class MediaUtilsClass {
- initialize() {}
- reset() {}
- destroy() {}
- compatabilityChecker() {} // t... | 5 |
diff --git a/src/drivers/webextension/images/icons/Preact.svg b/src/drivers/webextension/images/icons/Preact.svg <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M13.8294 0L27.6588 7.9844V23.9532L13.8294 31.9376L0 23.9532V7.9844L13.8294 0Z" fill="#673AB8"/>
-<pat... | 1 |
diff --git a/core/algorithm-operator/lib/templates/algorithm-builder.js b/core/algorithm-operator/lib/templates/algorithm-builder.js @@ -20,6 +20,7 @@ const jobTemplate = {
}
},
spec: {
+ serviceAccountName: 'algorithm-builder-serviceaccount',
containers: [
{
name: ALGORITHM_BUILDS,
| 0 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -35,8 +35,8 @@ articles:
- title: SSO for Regular Web Apps
url: /architecture-scenarios/application/web-app-sso
- # - title: SPA + API
- # url: /architecture-scenarios/application/spa-api
+ - title: SPA + API
+ url: /architecture-scenarios/application/spa-api
# - ... | 0 |
diff --git a/src/kea/logic/reducer.js b/src/kea/logic/reducer.js @@ -57,7 +57,7 @@ export function convertReducerArrays (reducers) {
let reducerObject = {
value: value,
type: type,
- reducer: createReducer(reducer, value)
+ reducer: typeof reducer === 'function' ? reducer : createReducer(reducer, value)
}
if (options) ... | 11 |
diff --git a/token-metadata/0x15bCDFAd12498DE8a922E62442Ae4CC4bd33bd25/metadata.json b/token-metadata/0x15bCDFAd12498DE8a922E62442Ae4CC4bd33bd25/metadata.json "symbol": "WALT",
"address": "0x15bCDFAd12498DE8a922E62442Ae4CC4bd33bd25",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/components/ContactCard/contact.style.js b/src/components/ContactCard/contact.style.js @@ -25,10 +25,10 @@ const ContactWrapper = styled.section`
border-radius: 10px;
}
.inputrow{
- margin-bottom: 5px;
+ margin-bottom: 10px;
}
.firstcol {
- padding-right: 0;
+ padding-right: 5px;
}
.lastcol {
padding-le... | 7 |
diff --git a/sources/osgUtil/ComposerPostProcess.js b/sources/osgUtil/ComposerPostProcess.js @@ -940,8 +940,8 @@ utils.createPrototypeObject(
// when reading out of texture assigned zone
// 0 - do nothing
- // 1 - black color when fetching out of bound
- // 2 - clamp uv to thresold (usually vec2(1.0))
+ // 1 - clamp uv... | 7 |
diff --git a/docs/content/widgets/configs/Window.js b/docs/content/widgets/configs/Window.js @@ -20,7 +20,6 @@ export default {
},
closable: {
key: true,
- alias: 'closeable',
type: 'boolean',
description: <cx><Md>
Controls the close button visibility. Defaults to `true`.
| 2 |
diff --git a/src/botPage/bot/Interpreter.js b/src/botPage/bot/Interpreter.js @@ -98,7 +98,7 @@ export default class Interpreter {
}
globalObserver.emit('Error', e);
const { initArgs, tradeOptions } = this.bot.tradeEngine;
- this.stop();
+ this.terminateSession();
this.init();
this.$scope.observer.register('Error', onEr... | 9 |
diff --git a/generators/client/templates/angular/_package.json b/generators/client/templates/angular/_package.json "@angular/platform-browser": "4.3.2",
"@angular/platform-browser-dynamic": "4.3.2",
"@angular/router": "4.3.2",
- "@ng-bootstrap/ng-bootstrap": "1.0.0-beta.1",
+ "@ng-bootstrap/ng-bootstrap": "1.0.0-beta.4... | 3 |
diff --git a/token-metadata/0x045Eb7e34e94B28C7A3641BC5e1A1F61f225Af9F/metadata.json b/token-metadata/0x045Eb7e34e94B28C7A3641BC5e1A1F61f225Af9F/metadata.json "symbol": "ZPAE",
"address": "0x045Eb7e34e94B28C7A3641BC5e1A1F61f225Af9F",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md Thanks for your interest in plotly.js!
+### Translations:
+
+- Make a PR directly to the main repository
+- Label it `type: translation`
+- Please @ mention a few other speakers of this language who can help review your translations.
+- If... | 0 |
diff --git a/src/tree/TextureManager.mjs b/src/tree/TextureManager.mjs @@ -160,12 +160,10 @@ export default class TextureManager {
_freeManagedTextureSource(textureSource) {
if (textureSource.isLoaded()) {
- // add VRAM tracking if using the webgl renderer
- this._updateVramUsage(textureSource, -1);
-
this._nativeFreeT... | 2 |
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js @@ -5,7 +5,7 @@ const ObservableStore = require('obs-store')
const ethUtil = require('ethereumjs-util')
const EthQuery = require('ethjs-query')
const TxProviderUtil = require('../lib/tx-utils')
-const PendingTransactionUtils ... | 10 |
diff --git a/src/components/picker.js b/src/components/picker.js @@ -10,15 +10,6 @@ import { deepMerge, measureScrollbar } from '../utils'
import { Anchors, Category, Emoji, Preview, Search } from '.'
-const RECENT_CATEGORY = { id: 'recent', name: 'Recent', emojis: null }
-const SEARCH_CATEGORY = {
- id: 'search',
- na... | 12 |
diff --git a/articles/rules/index.md b/articles/rules/index.md @@ -48,6 +48,22 @@ A Rule is a function with the following arguments:
Because of the async nature of Node.js, it is important to always call the <code>callback</code> function, or else the script will timeout.
</div>
+### Global Functions
+
+If you need to ... | 0 |
diff --git a/packages/webpack-plugin/lib/platform/template/normalize-component-rules.js b/packages/webpack-plugin/lib/platform/template/normalize-component-rules.js @@ -17,20 +17,23 @@ module.exports = function normalizeComponentRules (cfgs, spec) {
const eventRules = (cfg.event || []).concat(spec.event.rules)
el.attrs... | 1 |
diff --git a/services/importer/lib/importer/downloader.rb b/services/importer/lib/importer/downloader.rb @@ -178,7 +178,7 @@ module CartoDB
def download_and_store
file = Tempfile.new(FILENAME_PREFIX, encoding: 'ascii-8bit')
- bound_request(@translated_url, file).run
+ bound_request(file).run
file_path = if @filename
ne... | 4 |
diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js @@ -80,7 +80,7 @@ describe('api', function() {
loadingTask.promise
];
Promise.all(promises).then(function (data) {
- expect((data[0].loaded / data[0].total) > 0).toEqual(true);
+ expect((data[0].loaded / data[0].total) >= 0).toEqual(true);
expect(data[1] instan... | 11 |
diff --git a/test/routes/v3/launches.test.js b/test/routes/v3/launches.test.js @@ -63,6 +63,8 @@ test('It should return all launches', async () => {
expect(payload).toHaveProperty('orbit_params.epoch');
expect(payload).toHaveProperty('orbit_params.mean_motion');
expect(payload).toHaveProperty('orbit_params.raan');
+ ex... | 3 |
diff --git a/benchmark/createFixtures2.js b/benchmark/createFixtures2.js @@ -9,8 +9,8 @@ try {
function genModule(prefix, depth, asyncDepth, multiplex, r, circular) {
var source = [];
- var async = depth >= asyncDepth;
- if(!async)
+ var isAsync = depth >= asyncDepth;
+ if(!isAsync)
circular.push(path.resolve(fixtures,... | 10 |
diff --git a/iris/mutations/communityMember/removeCommunityModerator.js b/iris/mutations/communityMember/removeCommunityModerator.js @@ -69,12 +69,17 @@ export default async (_: any, { input }: Input, { user }: GraphQLContext) => {
return new UserError('This person is not a moderator in your community.');
}
- if (!curr... | 11 |
diff --git a/app/features/move.js b/app/features/move.js @@ -153,7 +153,7 @@ function dragDrop(e) {
}
function createDropzoneUI(el) {
- const hover = document.createElement('visbug-hover')
+ const hover = document.createElement('visbug-corners')
hover.position = {el}
document.body.appendChild(hover)
| 4 |
diff --git a/src/lib/Canvas.js b/src/lib/Canvas.js @@ -351,6 +351,10 @@ Canvas.prototype = {
},
finmouseup: function(e) {
+ if (!this.mousedown) {
+ // ignore document:mouseup unless preceded by a canvas:mousedown
+ return;
+ }
if (this.isDragging()) {
this.dispatchNewMouseKeysEvent(e, 'fin-canvas-dragend', {
dragstart... | 8 |
diff --git a/aws/cloudformation/util.go b/aws/cloudformation/util.go @@ -1049,6 +1049,7 @@ func UserAccountScopedStackName(basename string,
return "", awsNameErr
}
userName := strings.Replace(awsName, " ", "-", -1)
+ userName = strings.Replace(userName, ".", "-", -1)
return fmt.Sprintf("%s-%s", basename, userName), nil... | 9 |
diff --git a/assets/js/util/index.js b/assets/js/util/index.js @@ -735,10 +735,10 @@ export const findTagInHtmlContent = ( html, module ) => {
export const getExistingTag = async( module ) => {
try {
- let tagFound = data.getCache( module, 'existingTag', 3600 );
+ let tagFound = data.getCache( module, 'existingTag', 30... | 12 |
diff --git a/src/logged_out/components/footer/Footer.js b/src/logged_out/components/footer/Footer.js @@ -20,16 +20,22 @@ const styles = theme => ({
},
footerInner: {
backgroundColor: theme.palette.common.darkBlack,
+ paddingTop: theme.spacing(8),
+ paddingLeft: theme.spacing(7),
+ paddingRight: theme.spacing(7),
+ padd... | 7 |
diff --git a/.github/stale.yml b/.github/stale.yml # Number of days of inactivity before an issue becomes stale
-daysUntilStale: 951
+daysUntilStale: 948
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
| 3 |
diff --git a/post-processing.js b/post-processing.js @@ -9,7 +9,7 @@ import {UnrealBloomPass} from 'three/examples/jsm/postprocessing/UnrealBloomPass
import {AdaptiveToneMappingPass} from 'three/examples/jsm/postprocessing/AdaptiveToneMappingPass.js';
// import {BloomPass} from 'three/examples/jsm/postprocessing/BloomP... | 4 |
diff --git a/packages/project-disaster-trail/src/components/Game/DurationBar.js b/packages/project-disaster-trail/src/components/Game/DurationBar.js @@ -7,37 +7,13 @@ const durationBarStyle = css`
height: 40px;
margin: 0;
background-color: #721d7c;
- -moz-animation: scroll-left 30s linear 5s;
- -webkit-animation: scrol... | 2 |
diff --git a/metaversefile-api.js b/metaversefile-api.js +/*
+metaversefile uses plugins to load files from the metaverse and load them as apps.
+it is an interface between raw data and the engine.
+metaversfile can load many file types, including javascript.
+*/
+
import * as THREE from 'three';
import {GLTFLoader} fr... | 0 |
diff --git a/token-metadata/0x722f97A435278B7383a1e3c47F41773bebF3232C/metadata.json b/token-metadata/0x722f97A435278B7383a1e3c47F41773bebF3232C/metadata.json "symbol": "UCM",
"address": "0x722f97A435278B7383a1e3c47F41773bebF3232C",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/website/themes/uppy/layout/layout.ejs b/website/themes/uppy/layout/layout.ejs @@ -97,7 +97,7 @@ if (page.series) {
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<% } else { %>
- <script src="//ajax.googleapi... | 3 |
diff --git a/lib/transaction/transaction.js b/lib/transaction/transaction.js @@ -66,7 +66,7 @@ var MAX_BLOCK_SIZE = 1000000;
Transaction.DUST_AMOUNT = 546;
// Margin of error to allow fees in the vecinity of the expected value but doesn't allow a big difference
-Transaction.FEE_SECURITY_MARGIN = 15;
+Transaction.FEE_SE... | 4 |
diff --git a/packages/ERTP/core/config/inviteConfig.js b/packages/ERTP/core/config/inviteConfig.js @@ -6,9 +6,9 @@ import { makeCoreMintKeeper } from './coreMintKeeper';
import { insist } from '../../util/insist';
import { mustBeComparable } from '../../util/sameStructure';
-const insistOptDescription = optDescription ... | 10 |
diff --git a/modules/actor/actor-wfrp4e.js b/modules/actor/actor-wfrp4e.js @@ -4324,7 +4324,7 @@ DiceWFRP.renderRollCard() as well as handleOpposedTarget().
testDifficulty: difficulty,
slBonus,
successBonus,
- prefillTooltip: "These effects MAY be causing these bonuses\n" + tooltip.map(t => t.trim()).join("\n")
+ prefi... | 14 |
diff --git a/lib/modules/apostrophe-ui/public/css/components/fields.less b/lib/modules/apostrophe-ui/public/css/components/fields.less .apos-field-input-select-wrapper
{
position: relative;
+ display: flex;
+ align-items: center;
&:after
{
content: "\f0d7";
position: absolute;
- top: 50%;
- transform: translateY(-50%);... | 14 |
diff --git a/src/core/background/object/song.js b/src/core/background/object/song.js @@ -274,6 +274,10 @@ define((require) => {
return false;
}
+ if (typeof(song.getUniqueId) !== 'function') {
+ return false;
+ }
+
return this.getUniqueId() === song.getUniqueId();
}
| 7 |
diff --git a/demo/module_manager.js b/demo/module_manager.js @@ -258,7 +258,7 @@ async function iterateModules(_moduleType) {
async function selectAction() {
let options = ['Add a module','Pause / unpause a module','Remove a module','Change module budget','Mint tokens','Permanentally end minting','Exit'];
let index = r... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -33,7 +33,7 @@ fabric-android-secrets: &fabric-android-secrets
ruby-dependencies: &ruby-dependencies
run:
name: Download Ruby Dependencies
- command: bundle check || bundle install --path vendor/bundle
+ command: bundle install --path vendor/bundle
android-dep... | 2 |
diff --git a/src/ace.jsx b/src/ace.jsx @@ -171,6 +171,9 @@ export default class ReactAce extends PureComponent {
if (!isEqual(nextProps.markers, oldProps.markers)) {
this.handleMarkers(nextProps.markers || []);
}
+ if (!isEqual(nextProps.scrollMargins, oldProps.scrollMargins)) {
+ this.handleScrollMargins(nextProps.scr... | 9 |
diff --git a/node-red-contrib-iadvize/package.json b/node-red-contrib-iadvize/package.json {
"name": "node-red-contrib-viseo-iadvize",
- "version": "0.1.0",
+ "version": "0.1.1",
"description" : "VISEO Bot Maker - iAdvize",
"dependencies": {
"node-red-viseo-bot-manager": "~0.1.0",
| 9 |
diff --git a/src/components/Story/StoryFull.less b/src/components/Story/StoryFull.less margin: 8px 0;
}
- & p {
+ & p:not(:empty) {
letter-spacing: 0.7px;
text-align: justify;
margin: 32px 0;
font-size: 18px;
}
+
& img {
margin: 0 auto;
max-width: 100%;
| 8 |
diff --git a/config/redirects.js b/config/redirects.js @@ -1208,5 +1208,9 @@ module.exports = [
{
from: '/quickstart/backend/nodejs/00-getting-started',
to: '/quickstart/backend/nodejs'
+ },
+ {
+ from: '/quickstart/backend/aspnet-core-webapi/00-getting-started',
+ to: '/quickstart/backend/aspnet-core-webapi'
}
];
| 0 |
diff --git a/EXAMPLES.md b/EXAMPLES.md - A basic, three-dependency @pika/web project: [[Source]](https://glitch.com/edit/#!/pika-web-example-simple) [[Live Demo]](https://pika-web-example-simple.glitch.me/)
- A Preact + HTM project: [[Source]](https://glitch.com/edit/#!/pika-web-example-preact-htm) [[Live Demo]](https:... | 0 |
diff --git a/nin/frontend/app/scripts/directives/editor/GraphEditor.js b/nin/frontend/app/scripts/directives/editor/GraphEditor.js @@ -33,7 +33,15 @@ class GraphEditor extends React.Component {
generateDepths() {
let deepestLevel = 0;
let depths = {};
- let seen = new Set();
+
+ depths.root = {
+ x: 0,
+ y: 0,
+ id: 'r... | 7 |
diff --git a/test/es2017/asyncGenerators.js b/test/es2017/asyncGenerators.js @@ -84,4 +84,34 @@ module.exports = function () {
}
)
});
+
+ it('should handle async iterables in each (errors)', (done) => {
+ const calls = []
+ async.each(new AsyncIterable(5),
+ async (val) => {
+ calls.push(val)
+ if (val === 3) throw ne... | 7 |
diff --git a/README.md b/README.md @@ -111,7 +111,7 @@ and become a member of the CxJS community.
This repository is used to develop main npm packages, documentation and gallery.
-First, install the packages using `npm` or `yarn`. ()Currently yarn is the preferred tool as npm is having issues around :link for symlinks ... | 0 |
diff --git a/src/js/modules/Import/Import.js b/src/js/modules/Import/Import.js @@ -21,7 +21,7 @@ class Import extends Module{
}
loadDataCheck(data){
- return typeof data === "string";
+ return this.table.options.importFormat && (typeof data === "string" || (Array.isArray(data) && data.length && Array.isArray(data));
}
... | 3 |
diff --git a/bl-languages/de_DE.json b/bl-languages/de_DE.json "disabled-plugins": "Deaktivierte Plugins",
"remove-logo": "Logo entfernen",
"preview": "Vorschau",
- "author-can-write-and-edit-their-own-content": "Author: Can write and edit their own content. Editor: Can write and edit the content of others."
+ "author-... | 3 |
diff --git a/avatars/vrarmik/LegsManager.js b/avatars/vrarmik/LegsManager.js @@ -171,6 +171,8 @@ class LegsManager {
this.lastHmdPosition = new THREE.Vector3();
this.hmdVelocity = new THREE.Vector3();
+
+ this.enabled = true;
}
Start() {
@@ -182,6 +184,7 @@ class LegsManager {
}
Update() {
+ if (this.enabled) {
Helpers... | 0 |
diff --git a/package.json b/package.json "version": "0.0.1",
"private": true,
"scripts": {
- "start": "node node_modules/react-native/local-cli/cli.js start",
- "test": "jest",
+ "android": "react-native run-android",
+ "ios": "react-native run-ios",
"lint": "eslint app",
- "relay": "relay-compiler --verbose --src ./ap... | 0 |
diff --git a/src/client/js/components/PageList/BookmarkList.jsx b/src/client/js/components/PageList/BookmarkList.jsx @@ -12,7 +12,7 @@ import PaginationWrapper from '../PaginationWrapper';
import Page from './Page';
-const logger = loggerFactory('growi:MyBookmarkList');
+const logger = loggerFactory('growi:BookmarkList... | 10 |
diff --git a/writer.js b/writer.js @@ -98,6 +98,8 @@ function saveJoint(objJoint, objValidationState, preCommitCallback, onDone) {
conn.addQuery(arrQueries, "INSERT "+conn.getIgnore()+" INTO addresses (address) VALUES(?)", [author.address]);
conn.addQuery(arrQueries, "INSERT INTO unit_authors (unit, address, definition... | 12 |
diff --git a/src/components/Visualizations/GaugeChart.jsx b/src/components/Visualizations/GaugeChart.jsx @@ -25,7 +25,7 @@ const Styled = styled.div`
}
.gauge:before, .meter { width:10em; height:5em; }
- .gauge:before { border-radius:5em 5em 0 0; background:${constants.colorRed}; }
+ .gauge:before { border-radius:5em 5... | 13 |
diff --git a/lib/shared/addon/components/cru-cluster/component.js b/lib/shared/addon/components/cru-cluster/component.js @@ -73,8 +73,10 @@ export default Component.extend(ViewNewEdit, ChildHook, {
kontainerDrivers: computed('model.kontainerDrivers.@each.{id,state}', function() {
let nope = ['import', 'rancherkubernete... | 1 |
diff --git a/src/upgrade/upgrade_utils.js b/src/upgrade/upgrade_utils.js @@ -20,7 +20,6 @@ const TMP_PATH = '/tmp';
const EXTRACTION_PATH = `${TMP_PATH}/test`;
const NEW_TMP_ROOT = `${EXTRACTION_PATH}/noobaa-core`;
const PACKAGE_FILE_NAME = 'new_version.tar.gz';
-const CORE_DIR = "/root/node_modules/noobaa-core";
const... | 2 |
diff --git a/src/article/models/ExternalLink.js b/src/article/models/ExternalLink.js -import { STRING, Fragmenter } from 'substance'
+import { STRING } from 'substance'
import Annotation from './Annotation'
export default class ExternalLink extends Annotation {
- static get fragmentation () { return Fragmenter.SHOULD_N... | 4 |
diff --git a/web-stories.php b/web-stories.php * Plugin URI: https://wp.stories.google/
* Author: Google
* Author URI: https://opensource.google.com/
- * Version: 1.7.0-alpha.0
+ * Version: 1.7.0-rc.1
* Requires at least: 5.3
* Requires PHP: 5.6
* Text Domain: web-stories
@@ -40,7 +40,7 @@ if ( ! defined( 'ABSPATH' ) )... | 6 |
diff --git a/configs/bootstrap-v4.json b/configs/bootstrap-v4.json {
"index_name": "bootstrap-v4",
"start_urls": [
- "https://getbootstrap.com/"
+ "https://v4-alpha.getbootstrap.com/"
],
"stop_urls": [],
"selectors": {
- "lvl0": ".bd-content h1",
- "lvl1": ".bd-content h2",
- "lvl2": ".bd-content h3",
+ "lvl0": ".bd-pa... | 13 |
diff --git a/lib/node_modules/@stdlib/strided/common/examples/addon-nan-polymorphic/addon.cpp b/lib/node_modules/@stdlib/strided/common/examples/addon-nan-polymorphic/addon.cpp @@ -104,8 +104,7 @@ namespace addon_strided_add {
uint8_t *arrays[3];
int64_t strides[3];
int64_t shape[1];
- uint8_t scalarX;
- uint8_t scalar... | 4 |
diff --git a/src/components/api-request.js b/src/components/api-request.js @@ -486,7 +486,7 @@ export default class ApiRequest extends LitElement {
reqBodyFormHtml = this.formDataTemplate(reqBody.schema, reqBody.mimeType, (ex[0] ? ex[0].exampleValue : ''));
}
}
- } else if ((RegExp('^audio/|^image/|^video/|/octet-strea... | 7 |
diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx @@ -127,7 +127,6 @@ class Blocks extends React.Component {
if (this.props.vm.editingTarget && !this.state.workspaceMetrics[this.props.vm.editingTarget.id]) {
this.onWorkspaceMetricsChange();
}
-
this.ScratchBlocks.Events.disable();
this.workspace.clear(... | 4 |
diff --git a/components/Profile/index.js b/components/Profile/index.js @@ -220,7 +220,8 @@ export default compose(
graphql(getPublicUser, {
options: props => ({
variables: {
- userId: props.userId
+ userId: props.userId,
+ limit: 7
}
})
})
| 4 |
diff --git a/test/Air/Air.test.js b/test/Air/Air.test.js @@ -57,6 +57,18 @@ describe('#AirService', () => {
});
});
+ describe('availability', () => {
+ it('should check if correct function from service is called', () => {
+ const availability = sinon.spy(() => {});
+ const service = () => ({ availability });
+ const c... | 0 |
diff --git a/edit.js b/edit.js @@ -4633,97 +4633,6 @@ const _tickPlanetAnimation = factor => {
}
}; */
-const cometFireMesh = (() => {
- const radius = 1;
- const opacity = 0.5;
- const _makeSphereGeometry = (radius, color, position, scale) => {
- const geometry = new THREE.SphereBufferGeometry(radius, 8, 5);
- for (le... | 2 |
diff --git a/tests/e2e/specs/modules/tagmanager/setup.test.js b/tests/e2e/specs/modules/tagmanager/setup.test.js @@ -81,12 +81,12 @@ describe( 'setting up the TagManager module with no existing account', () => {
// Ensure account and container are selected by default.
await expect( page ).toMatchElement( '.mdc-select__... | 3 |
diff --git a/token-metadata/0x6a6c2adA3Ce053561C2FbC3eE211F23d9b8C520a/metadata.json b/token-metadata/0x6a6c2adA3Ce053561C2FbC3eE211F23d9b8C520a/metadata.json "symbol": "TON",
"address": "0x6a6c2adA3Ce053561C2FbC3eE211F23d9b8C520a",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/yoroi-ergo-connector/example-cardano/index.js b/packages/yoroi-ergo-connector/example-cardano/index.js @@ -476,12 +476,12 @@ showUtxos.addEventListener('click', () => {
function alertError (text) {
toggleSpinner('hide');
- alertEl.className = 'alert alert-danger'
+ alertEl.className = 'alert alert... | 9 |
diff --git a/assets/js/googlesitekit/modules/datastore/modules.js b/assets/js/googlesitekit/modules/datastore/modules.js @@ -536,7 +536,7 @@ const baseActions = {
recoveredModules.push( slug );
} else {
- errors.push( error );
+ errors.push( [ slug, error ] );
}
}
@@ -558,19 +558,26 @@ const baseActions = {
}
}
+ const... | 7 |
diff --git a/src/og/camera/PlanetCamera.js b/src/og/camera/PlanetCamera.js @@ -551,9 +551,9 @@ class PlanetCamera extends Camera {
let slope = n.dot(eyeNorm);
if (minSlope) {
- let dSlope = slope - this.slope;
+ //let dSlope = slope - this.slope;
- if (slope < minSlope && dSlope < 0) return;
+ //if (slope < minSlope &&... | 2 |
diff --git a/app/Deprecate.jsx b/app/Deprecate.jsx @@ -13,11 +13,6 @@ export default class Deprecate extends React.Component {
<div>
<Translate content="migration.text_1" component="h4" />
<Translate content="migration.text_2" component="p" unsafe />
-
-
- <Settings {...this.props} deprecated />
-
-
</div>
);
}
@@ -32,... | 7 |
diff --git a/test/jasmine/tests/bar_test.js b/test/jasmine/tests/bar_test.js @@ -981,12 +981,10 @@ describe('Bar.crossTraceCalc (formerly known as setPositions)', function() {
it('should set unit width for categories in overlay mode', function() {
var gd = mockBarPlot([{
- type: 'bar',
x: ['a', 'b', 'c'],
y: [2, 2, 2]
... | 0 |
diff --git a/index.js b/index.js @@ -20,7 +20,6 @@ module.exports = Enforcer;
const dataTypeFormats = require('./bin/data-type-formats');
const Exception = require('./bin/exception');
-const freeze = require('./bin/freeze');
const RefParser = require('json-schema-ref-parser');
const Super = require('./bin/super');
cons... | 2 |
diff --git a/token-metadata/0x37236CD05b34Cc79d3715AF2383E96dd7443dCF1/metadata.json b/token-metadata/0x37236CD05b34Cc79d3715AF2383E96dd7443dCF1/metadata.json "symbol": "SLP",
"address": "0x37236CD05b34Cc79d3715AF2383E96dd7443dCF1",
"decimals": 0,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/exampleSite/content/_index/table.md b/exampleSite/content/_index/table.md @@ -15,7 +15,7 @@ subtitle = "Customize your page with our various fragments"
[[rows]]
[[rows.values]]
button = "Buttons"
- color = "link p-0"
+ color = "link"
url = "fragments/buttons"
[[rows.values]]
@@ -24,7 +24,7 @@ subtitle = "C... | 2 |
diff --git a/src/og/layer/Material.js b/src/og/layer/Material.js @@ -11,7 +11,7 @@ const Material = function (segment, layer) {
this.isLoading = false;
this.texture = null;
this.pickingMask = null;
- this.image = null;
+ //this.image = null;
this.textureExists = false;
this.appliedNodeId = 0;
this.texOffset = [0.0, 0.0... | 2 |
diff --git a/site/tutorials/tutorial-one-dotnet.md b/site/tutorials/tutorial-one-dotnet.md @@ -196,7 +196,7 @@ exist already. The message content is a byte array, so you can encode
whatever you like there.
When the code above finishes running, the channel and the connection
-will be disposed.
+will be disposed. That's ... | 5 |
diff --git a/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js b/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js @@ -17,12 +17,19 @@ counterpa... | 12 |
diff --git a/source/Overture/views/View.js b/source/Overture/views/View.js @@ -236,6 +236,25 @@ var View = NS.Class({
View.parent.destroy.call( this );
},
+ // --- Screen reader accessibility ---
+
+ /**
+ Property: O.View#ariaAttributes
+ Type: Object|null
+
+ A set of aria attributes to apply to the layer node. The k... | 0 |
diff --git a/css/style.css b/css/style.css --appblack: #232a36;
--appimage: white;
}
+
:root .light-mode {
--appbg: #232a36;
--apppink: #7868e6;
@@ -147,6 +148,7 @@ h6 {
.ulstyle li a:active {
color: white !important;
}
+
.stopwrap {
white-space: nowrap;
overflow-y: hidden;
@@ -156,6 +158,20 @@ h6 {
display: grid;
}
+.... | 1 |
diff --git a/components/Discussion/enhancers.js b/components/Discussion/enhancers.js import {gql, graphql} from 'react-apollo'
+import uuid from 'uuid/v4'
const meQuery = gql`
query discussionMe($discussionId: ID!) {
@@ -276,12 +277,16 @@ mutation discussionSubmitComment($discussionId: ID!, $parentId: ID, $content: St
... | 6 |
diff --git a/src/DOM.js b/src/DOM.js @@ -309,7 +309,7 @@ Node.DOCUMENT_TYPE_NODE = 10;
Node.DOCUMENT_FRAGMENT_NODE = 11;
module.exports.Node = Node;
-const _setAttributeRaw = (el, prop, value) => {
+const _setAttributeRaw = (el, prop, value, notify = true) => {
if (prop === 'length') {
el.attrs.length = value;
} else {... | 4 |
diff --git a/js/web-server.js b/js/web-server.js @@ -16,15 +16,21 @@ const helper = {
console.log(
moment().format('YYMMDD.HHmmss'),
[...arguments]
- .map(v => util.inspect(v, {breakLength:Infinity, colors:clearJS}))
+ .map(v => util.inspect(v, {
+ maxArrayLength: null,
+ breakLength: Infinity,
+ colors: debug,
+ compa... | 7 |
diff --git a/source/_ext/ghreference.py b/source/_ext/ghreference.py @@ -36,20 +36,24 @@ class GitHubReference(Directive):
if '.md' in line.path:
uri = 'https://github.com/' + self.arguments[0] + '/blob/gh-pages/' + line.path
version = line.path.split('.md')[0]
+ else:
+ uri = self.docs_url + self.arguments[0].split('/... | 1 |
diff --git a/bot/src/start.js b/bot/src/start.js @@ -103,7 +103,12 @@ function createBot() {
const monochrome = new Monochrome(options);
+ let handledReady = false;
monochrome.getErisBot().on('ready', () => {
+ if (handledReady) {
+ return;
+ }
+
monochrome.reactionButtonManager = new ReactionButtons
.ReactionButtonMan... | 9 |
diff --git a/src/encoded/static/components/app.js b/src/encoded/static/components/app.js @@ -40,8 +40,8 @@ const portal = {
title: 'Data',
children: [
{ id: 'assaymatrix', title: 'Experiment matrix', url: '/matrix/?type=Experiment&status=released' },
- { id: 'assaysearch', title: 'Search', url: '/search/?type=Experimen... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.