code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/Route.js b/src/Route.js @@ -138,7 +138,7 @@ export default class Route {
}
_next = false;
finished = true;
- _res.statusCode = err.code || err.status || 403;
+ _res.statusCode = err.code || err.status || 400;
return _res.send(
`{"error":"${typeof err === 'string' ? err : err.message}"}`
);
@@ -231,13 +... | 7 |
diff --git a/packages/insomnia-app/app/ui/components/panes/grpc-request-pane/index.tsx b/packages/insomnia-app/app/ui/components/panes/grpc-request-pane/index.tsx -import React, { FunctionComponent } from 'react';
+import React, { FunctionComponent, useCallback } from 'react';
import { Tab, TabList, TabPanel, Tabs } fr... | 9 |
diff --git a/token-metadata/0xF2f9A7e93f845b3ce154EfbeB64fB9346FCCE509/metadata.json b/token-metadata/0xF2f9A7e93f845b3ce154EfbeB64fB9346FCCE509/metadata.json "symbol": "POWER",
"address": "0xF2f9A7e93f845b3ce154EfbeB64fB9346FCCE509",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/articles/appliance/infrastructure/dns.md b/articles/appliance/infrastructure/dns.md @@ -90,7 +90,7 @@ The hostname (e.g. **manage-project**.yourdomain.com) must be at least three cha
The following are reserved tenant names and **may not** be used for the **app** tenant.
-<table>
+<table class="table">
<tr>... | 0 |
diff --git a/js/feature/mergedTrack.js b/js/feature/mergedTrack.js @@ -60,6 +60,19 @@ const MergedTrack = extend(TrackBase, function (config, browser) {
console.warn("Could not create track " + tconf);
}
});
+
+ Object.defineProperty(this, "height", {
+ get() {
+ return this._height || 100;
+ },
+ set(h) {
+ this._heig... | 1 |
diff --git a/src/components/Overlay/Header/index.css b/src/components/Overlay/Header/index.css .OverlayHeader-title {
float: left;
height: 100%;
- padding-top: 17px;
font-size: 10pt;
- text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
/* max width = 300px */
width: 33%;
| 7 |
diff --git a/src/reducers/account/index.js b/src/reducers/account/index.js @@ -14,7 +14,8 @@ import {
getLedgerKey,
getBalance,
selectAccount,
- setLocalStorage
+ setLocalStorage,
+ getAccountBalance
} from '../../actions/account'
import {
@@ -28,7 +29,8 @@ const initialState = {
actionsPending: [],
canEnableTwoFactor:... | 9 |
diff --git a/lib/assets/javascripts/builder/editor/layers/layer-content-views/analyses/analysis-form-models/georeference-form-model.js b/lib/assets/javascripts/builder/editor/layers/layer-content-views/analyses/analysis-form-models/georeference-form-model.js @@ -128,7 +128,7 @@ module.exports = BaseAnalysisFormModel.ex... | 11 |
diff --git a/app/models/carto/oauth_app.rb b/app/models/carto/oauth_app.rb @@ -12,11 +12,11 @@ module Carto
validates :redirect_uri, presence: true
validate :validate_uri
- before_validation :generate_keys
+ before_validation :ensure_keys_generated
private
- def generate_keys
+ def ensure_keys_generated
self.client_id ... | 10 |
diff --git a/README.md b/README.md @@ -140,27 +140,10 @@ These pages are generated by the Plotly [graphing-library-docs repo](https://git
For more info about contributing to Plotly documentation, please read through [contributing guidelines](https://github.com/plotly/graphing-library-docs/blob/master/README.md).
### To... | 3 |
diff --git a/data/packages/com.joaosantos.package-common-wrapper.yml b/data/packages/com.joaosantos.package-common-wrapper.yml @@ -8,7 +8,7 @@ licenseName: MIT License
topics:
- frameworks
hunter: JoaoSant0s
-gitTagPrefix: _
+gitTagPrefix: 'package-common-wrapper-'
gitTagIgnore: ''
minVersion: ''
image: null
| 10 |
diff --git a/examples/with-firebase-authentication/pages/index.js b/examples/with-firebase-authentication/pages/index.js @@ -5,16 +5,21 @@ import 'firebase/firestore'
import 'isomorphic-unfetch'
import clientCredentials from '../credentials/client'
-export default class Index extends Component {
- static async getIniti... | 14 |
diff --git a/src/library/managers/ShipManager.js b/src/library/managers/ShipManager.js @@ -196,7 +196,7 @@ Saves and loads list to and from localStorage
remove :function( rosterId ){
console.log("removing ship", rosterId);
var thisShip = this.list["x"+rosterId];
- if(thisShip != "undefined"){
+ if(typeof thisShip != "u... | 1 |
diff --git a/src/commands/resolve/sender/local-resolve-command.js b/src/commands/resolve/sender/local-resolve-command.js @@ -56,19 +56,15 @@ class LocalResolveCommand extends Command {
await Promise.all(normalizeNquadsPromises);
- const updateHandlerIdDataPromises = [
- this.handlerIdService.cacheHandlerIdData(handlerI... | 3 |
diff --git a/packages/build/src/plugins/functions/index.js b/packages/build/src/plugins/functions/index.js @@ -55,15 +55,16 @@ const functionsBuild = async function({ constants: { FUNCTIONS_SRC, FUNCTIONS_DI
// Print the list of paths to the bundled functions
const logResults = async function(FUNCTIONS_DIST) {
- const ... | 7 |
diff --git a/assets/filters/mode7.js b/assets/filters/mode7.js @@ -2,10 +2,6 @@ Phaser.Filter.Mode7 = function (game) {
Phaser.Filter.call(this, game);
this.uniforms.angle = {type: "1f", value: 0};
- this.uniforms.sin1 = {type: "1f", value: 1};
- this.uniforms.sin2 = {type: "1f", value: 0};
- this.uniforms.cos1 = {type... | 12 |
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js @@ -151,7 +151,6 @@ module.exports = class MetamaskController extends EventEmitter {
//
initializeProvider () {
- const keyringController = this.keyringController
let provider = MetaMaskProvider({
static: {
@@ -173,7 +172,7 @@ module.e... | 11 |
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 "bool": "bool",
"json": "JSON",
"bin": "buffer",
- "env": "env variable"
+ "env": "env variable",
+ "cred": "credential"
},
"menu": {
"input": "input",
| 3 |
diff --git a/src/libs/Permissions.js b/src/libs/Permissions.js import _ from 'underscore';
+import {isDevelopment} from './Environment/Environment';
import CONST from '../CONST';
/**
@@ -7,7 +8,7 @@ import CONST from '../CONST';
* @returns {Boolean}
*/
function canUseAllBetas(betas) {
- return _.contains(betas, CONST.B... | 13 |
diff --git a/edit.js b/edit.js @@ -1790,7 +1790,10 @@ const [
const pointOffset = scratchStack.f32.byteOffset + 14*Float32Array.BYTES_PER_ELEMENT;
const normalOffset = scratchStack.f32.byteOffset + 17*Float32Array.BYTES_PER_ELEMENT;
const distanceOffset = scratchStack.f32.byteOffset + 20*Float32Array.BYTES_PER_ELEMENT;... | 4 |
diff --git a/types/config.d.ts b/types/config.d.ts @@ -76,8 +76,6 @@ type ScreensConfig = string[] | KeyValuePair<string, string | Screen | Screen[]>
// Theme related config
interface ThemeConfig {
- extend: Partial<Omit<ThemeConfig, 'extend'>>
-
/** Responsiveness */
screens: ResolvableTo<ScreensConfig>
@@ -317,7 +315... | 7 |
diff --git a/common/lib/client/realtimepresence.ts b/common/lib/client/realtimepresence.ts @@ -241,14 +241,17 @@ class RealtimePresence extends Presence {
// Return type is any to avoid conflict with base Presence class
get(this: RealtimePresence, params: RealtimePresenceParams, callback: StandardCallback<PresenceMessa... | 1 |
diff --git a/__tests__/applyAtRule.test.js b/__tests__/applyAtRule.test.js @@ -4,9 +4,7 @@ import defaultConfig from '../stubs/defaultConfig.stub.js'
import tailwind from '../src/index'
function run(input, config = {}) {
- return postcss([
- tailwind({ experimental: { applyComplexClasses: true }, ...config }),
- ]).pro... | 2 |
diff --git a/assets/js/components/dashboard-sharing/ModuleRecoveryAlert.js b/assets/js/components/dashboard-sharing/ModuleRecoveryAlert.js */
import { Fragment, useCallback, useEffect, useState } from '@wordpress/element';
import { sprintf, __ } from '@wordpress/i18n';
+
/**
* Internal dependencies
*/
@@ -35,6 +36,9 @@... | 7 |
diff --git a/install/index.php b/install/index.php @@ -79,7 +79,7 @@ if (!count($failed)) {
'active' => true,
'group' => 'admin',
'password' => $app->hash('admin'),
- 'i18n' => 'en',
+ 'i18n' => $app->helper('i18n')->locale,
'_created' => $created,
'_modified'=> $created,
];
| 12 |
diff --git a/content/questions/closure-and-hoisting/index.md b/content/questions/closure-and-hoisting/index.md @@ -46,3 +46,5 @@ Definition: "Closure" is said to occur when a function remembers and accesses it
When the internal functions `b` are returned from all the three functions, each function `b` gets a "closure" ... | 0 |
diff --git a/src/index.js b/src/index.js @@ -43,31 +43,57 @@ export {default as FirstPersonState} from './core/controllers/first-person-state
export {default as OrbitState} from './core/controllers/orbit-state';
export {default as MapState} from './core/controllers/map-state';
+// Deprecated Core Lib Classes
+export {d... | 0 |
diff --git a/assets/js/components/dashboard-sharing/DashboardSharingSettings/Footer.js b/assets/js/components/dashboard-sharing/DashboardSharingSettings/Footer.js @@ -37,10 +37,7 @@ import Notice from './Notice';
import { CORE_MODULES } from '../../../googlesitekit/modules/datastore/constants';
import { CORE_UI } from ... | 2 |
diff --git a/deploy/base.coffee b/deploy/base.coffee @@ -256,6 +256,8 @@ class Base
if err then reject(err) else resolve()
createCyCache: (project) ->
+ throw new Error("Brian! Remove this!")
+
cache.path = cache.path.replace("development", "production")
# cache = path.join(@buildPathToAppResources(), ".cy", "productio... | 0 |
diff --git a/src/module.d.ts b/src/module.d.ts @@ -361,14 +361,14 @@ export namespace utils {
const rowUtils: PropertyBag<Function>;
interface SortProperties{
- setSortColumn(sortProperties: ((GriddleSortKey : any) => void)) : any;
+ setSortColumn(sortProperties: ((key : GriddleSortKey) => void)) : void;
sortProperty: ... | 7 |
diff --git a/android/fastlane/README.md b/android/fastlane/README.md @@ -28,10 +28,10 @@ fastlane android test
Runs all the tests
-### android build
+### android build_beta
```
-fastlane android build
+fastlane android build_beta
```
Build application
@@ -60,13 +60,37 @@ fastlane android beta
Build and deploy to Beta l... | 3 |
diff --git a/ios/PrideLondonApp/AppDelegate.m b/ios/PrideLondonApp/AppDelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#if DEBUG == 0
- [[Fabric sharedSDK] setDebug: YES];
[Fabric with:@[[Crashlytics class]]];
#endif
[BugsnagReactNative start];
| 2 |
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 @@ -3773,9 +3773,10 @@ RED.view = (function() {
var yp = d.h / 2 - (this.__labelLineCount__ / 2) * 24 + 13;
if ((!d._def.align && d.inputs !== 0 && d.outputs === 0) || "right" =... | 9 |
diff --git a/rollup.config.js b/rollup.config.js @@ -20,11 +20,6 @@ export default {
],
plugins: [
glslify(),
- resolve({
- browser: true,
- preferBuiltins: false,
- dedupe: ['gl-matrix', 'axios', 'jpeg-js', 'fast-png']
- }),
copy({
targets: [
{
| 2 |
diff --git a/lib/node_modules/@stdlib/math/base/tools/sum-series/test/es2015-generator/index.js b/lib/node_modules/@stdlib/math/base/tools/sum-series/test/es2015-generator/index.js @@ -18,15 +18,14 @@ tape( 'the function calculates the sum of an infinite series provided by a gener
t.ok( abs( actual - expected ) < EPS, ... | 14 |
diff --git a/src/govuk/components/checkboxes/checkboxes.js b/src/govuk/components/checkboxes/checkboxes.js @@ -56,11 +56,12 @@ Checkboxes.prototype.syncAll = function () {
}
Checkboxes.prototype.syncWithInputState = function ($input) {
- var inputIsChecked = $input.checked
- $input.setAttribute('aria-expanded', inputIs... | 7 |
diff --git a/extension/data/modules/comment.js b/extension/data/modules/comment.js @@ -490,6 +490,15 @@ function comments () {
// Get the context
TBApi.getJSON(contextUrl, {raw_json: 1}).then(data => {
TBStorage.purifyObject(data);
+
+ // data[1] is a listing containing comments
+ // if there are no comments in the lis... | 9 |
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -371,6 +371,12 @@ def process_fastq_file(job, fastq_data_stream, session, url):
'^(@[a-zA-Z\d]+[a-zA-Z\d_-]*:[a-zA-Z\d-]+:[a-zA-Z\d_-]' +
'+:\d+:\d+:\d+:\d+[/1|/2]*[\s_][12]:[YXN]:[0-9]+:([ACNTG\+]*|[0-9]*))$'
)
+
+ srr_read_name_pattern = re.compile(
... | 0 |
diff --git a/src/containers/CommentContainer.js b/src/containers/CommentContainer.js @@ -92,6 +92,10 @@ class CommentContainer extends Component {
commentBody: null,
}
+ static contextTypes = {
+ onLaunchNativeEditor: PropTypes.func.isRequired,
+ }
+
static childContextTypes = {
onClickDeleteComment: PropTypes.func.isR... | 11 |
diff --git a/test/services/credential-service/credentials.test.js b/test/services/credential-service/credentials.test.js @@ -19,17 +19,17 @@ describe('Credential tests', () => {
beforeEach(() => db.flushdb());
describe("'oauth2' specific cases", () => {
- const policy = 'oauth2';
+ const type = 'oauth2';
it('should not... | 10 |
diff --git a/lib/wifi.js b/lib/wifi.js @@ -417,29 +417,36 @@ function wifiNetworks(callback) {
let cmd = 'chcp 65001 && netsh wlan show networks mode=Bssid';
exec(cmd, util.execOptsWin, function (error, stdout) {
- const parts = stdout.toString('utf8').split(os.EOL + os.EOL + 'SSID ');
- parts.shift();
+ const ssidPart... | 7 |
diff --git a/bin/cli.js b/bin/cli.js @@ -68,15 +68,15 @@ let showCorrectUsage = function () {
console.log(' --force Force all necessary directory modifications without prompts');
console.log();
console.log('Commands:');
- console.log(' create <appname> Create a new boilerplate app in working directory');
- console.log(... | 7 |
diff --git a/src/handleInput.js b/src/handleInput.js @@ -37,7 +37,8 @@ export default async function handleInput(
if (
event.input.length >= 3 &&
state !== 'ASKING_NOT_USEFUL_FEEDBACK' &&
- state !== 'ASKING_ARTICLE_SUBMISSION_REASON'
+ state !== 'ASKING_ARTICLE_SUBMISSION_REASON' &&
+ state !== 'ASKING_REPLY_REQUEST_R... | 11 |
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb @@ -17,6 +17,13 @@ class ApplicationController < ActionController::Base
render file: Rails.root.join('public/404'), status: 404, layout: false
end
+ rescue_from CanCan::AccessDenied do |exception|
+ respond_to do |format|... | 9 |
diff --git a/lib/assets/javascripts/dashboard/dashboard.js b/lib/assets/javascripts/dashboard/dashboard.js @@ -205,6 +205,6 @@ function resetOrderWhenLikesIsApplied () {
const dashboardOrder = localStorageInstance.get('dashboard.order');
if (dashboardOrder === 'likes') {
- localStorageInstance.set({'dashboard.order': '... | 12 |
diff --git a/test/jasmine/tests/heatmap_test.js b/test/jasmine/tests/heatmap_test.js @@ -168,8 +168,8 @@ describe('heatmap convertColumnXYZ', function() {
};
}
- var xa = makeMockAxis(),
- ya = makeMockAxis();
+ var xa = makeMockAxis();
+ var ya = makeMockAxis();
it('should convert x/y/z columns to z(x,y)', function() ... | 0 |
diff --git a/src/components/KeyboardSpacer/index.android.js b/src/components/KeyboardSpacer/index.android.js /**
- * On Android the keyboard covers the input fields on the bottom of the view. This component moves the
- * view up with the keyboard allowing the user to see what they are typing.
+ * On Android we do not n... | 12 |
diff --git a/desktop/core/library/_midi.js b/desktop/core/library/_midi.js @@ -23,7 +23,7 @@ function OperatorMidi (orca, x, y, passive) {
let rawVelocity = this.listen(this.ports.input.velocity)
let rawLength = this.listen(this.ports.input.length)
- if (rawChannel === '.' || orca.valueOf(rawChannel) > 15 || rawOctave ... | 7 |
diff --git a/articles/logout/index.md b/articles/logout/index.md @@ -183,9 +183,14 @@ To log out a user from both Auth0 and their SAML identity provider, they must be
The external SAML identity provider will need to know where to send SAML logout responses. The __SingleLogout service URL__ that will consume this respon... | 0 |
diff --git a/src/view/resolvers/ReferenceExpressionProxy.js b/src/view/resolvers/ReferenceExpressionProxy.js @@ -82,7 +82,9 @@ export default class ReferenceExpressionProxy extends LinkModel {
}));
const pathChanged = () => {
- const model = base.joinAll(
+ const model =
+ base &&
+ base.joinAll(
members.reduce((list, ... | 9 |
diff --git a/light-mapper.js b/light-mapper.js import * as THREE from 'three';
-import {getRenderer} from './renderer.js';
+import {getRenderer, scene} from './renderer.js';
+import {WebaverseShaderMaterial} from './materials.js';
const localVector = new THREE.Vector3();
const localVector2 = new THREE.Vector3();
@@ -12... | 0 |
diff --git a/src/lang/en.json b/src/lang/en.json "WeaponTypesSolarian": "Solarian Weapon Crystals",
"WeaponTypesSpecial": "Special Weapons",
"WillSave": "Will",
-
- "LocalizationTerminator": "",
-
"Units": {
"Speed": "ft."
- }
+ },
+
+ "LocalizationTerminator": ""
}
}
\ No newline at end of file
| 0 |
diff --git a/examples/MultiSwitch/example.js b/examples/MultiSwitch/example.js @@ -7,17 +7,17 @@ var ms = new MultiSwitch({
required: true,
multiselect: false,
dataProvider: [
- { "id": "1", "text": "Ministria e Puneve te Jashtme 1", "buttonClass": 'btn btn-xs btn-default'},
- { "id": "2", "text": "Ministria e Drejtesi... | 14 |
diff --git a/test/unit/specs/components/common/__snapshots__/AppHeader.spec.js.snap b/test/unit/specs/components/common/__snapshots__/AppHeader.spec.js.snap // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AppHeader has the expected html structure 1 1`] = `
-"<nav id=\\"app-header\\">
+"<nav id=\\"app-header\\" clas... | 3 |
diff --git a/src/widgets/time-series/torque-time-slider-view.js b/src/widgets/time-series/torque-time-slider-view.js @@ -50,21 +50,15 @@ module.exports = cdb.core.View.extend({
},
_initBinds: function () {
- this._torqueLayerModel.bind('change:start change:end', this._updateChartandTimeslider, this);
- this._torqueLaye... | 14 |
diff --git a/src/dataset.js b/src/dataset.js @@ -64,32 +64,26 @@ export const checkAndSerialize = (item, limitBytes, index) => {
* @ignore
*/
export const chunkBySize = (items, limitBytes) => {
- const toJsonArray = array => `[${array.join(',')}]`;
+ if (!items.length) return [];
- let lastChunkBytes = 2; // add 2 byte... | 7 |
diff --git a/README.md b/README.md @@ -319,7 +319,8 @@ Run tests and view test results right from your favorite IDE.
Work with page elements in a way that is native to your framework.
* [Aurelia](https://github.com/miherlosev/testcafe-aurelia-selectors)
-* [React](https://github.com/DevExpress/testcafe-react-selectors/... | 0 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -125,6 +125,8 @@ Long-lived tokens compromise your security. Following this process is <strong>NO
Use panels when you want to separate long information from the main body of the document.
+Try to add a meaningful title to the panel. Avoid using "NOTE" or "WARNING".
+
We... | 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ### New features
-#### Add formGroup parameter to character count component
+#### Add classes to the form group wrapper of the character count component
-- [Pull request #1553: Include formGroup on character count and pass through to textarea to allow class to be added to charac... | 7 |
diff --git a/src/og/control/LayerAnimation.js b/src/og/control/LayerAnimation.js @@ -39,6 +39,22 @@ class LayerAnimation extends Control {
this._timeoutStart = 0;
}
+ _setFrame(frameIndex) {
+ if (this._getFrameIndex(this._currentIndex) !== frameIndex) {
+ for (let i = 0, len = this._getFramesNum(); i < len; i++) {
+ i... | 0 |
diff --git a/README.md b/README.md @@ -20,7 +20,7 @@ and more.
* [Quick start options](#quick-start-options)
* [Modules](#modules)
-* [Building plotly.js](##building-plotlyjs)
+* [Building plotly.js](#building-plotlyjs)
* [Bugs and feature requests](#bugs-and-feature-requests)
* [Documentation](#documentation)
* [Contr... | 3 |
diff --git a/sources/osgShader/ShaderProcessor.js b/sources/osgShader/ShaderProcessor.js @@ -156,15 +156,31 @@ ShaderProcessor.prototype = {
};
} )(),
- _convertExtensionsToWebGL2: function ( strExtension ) {
- return strExtension.replace( '#extension GL_EXT_shader_texture_lod', '// bla' );
- },
+ _convertExtensionsToW... | 7 |
diff --git a/src/schemas/json/aiproj.json b/src/schemas/json/aiproj.json {
"$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
"description": "Settings for project analysis by the application inspector",
"properties": {
"BlackBoxSettings": {
"description": "Autocheck vulnerabilities a... | 10 |
diff --git a/index.css b/index.css @@ -1249,6 +1249,9 @@ header.builtin.import .wallet.import, header.builtin.locked .wallet.locked, head
height: 100vh;
outline: none;
}
+#canvas.hover {
+ pointer-events: none;
+}
.crosshair {
position: absolute;
top: 0;
| 0 |
diff --git a/docs/plugins/README.md b/docs/plugins/README.md @@ -25,9 +25,9 @@ React Static ships with a plugin API to extend React Static's functionality.
- [react-static-plugin-source-filesystem](/packages/react-static-plugin-source-filesystem) - Creates routes from files in a directory
- [react-static-plugin-mdx](/p... | 1 |
diff --git a/src/km.js b/src/km.js properties: ['openFile'],
});
if (!v) return;
- if (/\.dws$/.test(v)) {
+ if (/\.dws$/i.test(v)) {
$.confirm(
`Run Latent Expression of ${v.replace(/^.*[\\/]/, '')}?`,
'Load Workspace',
- x => D.ide.exec([` )${(x ? '' : 'x')}load ${v}\n`], 0),
+ (x) => D.ide.exec([` )${(x ? '' : 'x')}... | 8 |
diff --git a/src/Page/TextLayerItem.jsx b/src/Page/TextLayerItem.jsx @@ -9,11 +9,11 @@ import { isPage, isRotate } from '../shared/propTypes';
const BROKEN_FONT_ALARM_THRESHOLD = 0.1;
export class TextLayerItemInternal extends PureComponent {
- state = {
- transform: null,
+ componentDidMount() {
+ this.alignTextItem()... | 7 |
diff --git a/src/og/control/LayerSwitcher.js b/src/og/control/LayerSwitcher.js @@ -59,13 +59,6 @@ class LayerSwitcher extends Control {
var lineDiv = document.createElement("div");
lineDiv.className = "layersEntry"
var that = this;
- // var center = document.createElement("div");
- // center.classList.add("ogViewExtent... | 2 |
diff --git a/buildtools/webpack-migration b/buildtools/webpack-migration #!/bin/bash -ex
+function jscodeshift {
+ node_modules/.bin/jscodeshift $* | tee /tmp/jscodeshift.log
+ grep --quiet '^0 errors$' /tmp/jscodeshift.log
+ rm /tmp/jscodeshift.log
+}
+
node node_modules/googshift/filename-case-from-module.js src '*.j... | 9 |
diff --git a/src/reducers/tokens/index.js b/src/reducers/tokens/index.js @@ -19,12 +19,17 @@ const likelyContractsReducer = handleActions({
}, initialState)
const tokensReducer = handleActions({
- [tokens.tokensDetails.set]: (state, { payload }) => ({
+ [tokens.likelyContracts.get]: (state, { ready, error, payload, met... | 9 |
diff --git a/README.md b/README.md # [![LOGO][logo-image]][logo-url] **React Most Wanted**
-[![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![License][license-image]][license-url] [![Code Style][code-style-image]][code-style-url]
+[![Build Status][travis-image]][travis-ur... | 2 |
diff --git a/assets/js/googlesitekit/data/create-notifications-store.test.js b/assets/js/googlesitekit/data/create-notifications-store.test.js @@ -44,7 +44,7 @@ describe( 'createNotificationsStore store', () => {
let apiFetchSpy;
let dispatch;
let registry;
- let selectors;
+ let select;
let storeDefinition;
let store;... | 10 |
diff --git a/src/main/java/org/cboard/jdbc/JdbcDataProvider.java b/src/main/java/org/cboard/jdbc/JdbcDataProvider.java @@ -148,6 +148,7 @@ public class JdbcDataProvider extends DataProvider implements Aggregatable {
druidDS.setBreakAfterAcquireFailure(true);
druidDS.setConnectionErrorRetryAttempts(5);
datasourceMap.put... | 1 |
diff --git a/includes/Core/Modules/Modules.php b/includes/Core/Modules/Modules.php @@ -443,8 +443,8 @@ final class Modules {
$this->set_active_modules_option( $option );
- if ( is_callable( array( $module, 'on_activation' ) ) ) {
- call_user_func( array( $module, 'on_activation' ) );
+ if ( $module instanceof Module_Wi... | 14 |
diff --git a/packages/@uppy/companion/src/server/helpers/utils.js b/packages/@uppy/companion/src/server/helpers/utils.js @@ -38,7 +38,7 @@ exports.jsonStringify = (data) => {
* @param {string} text
*/
exports.sanitizeHtml = (text) => {
- return text.replace(/<\/?[^>]+(>|$)/g, '')
+ return text ? text.replace(/<\/?[^>]+... | 14 |
diff --git a/publish/deployed/local-ovm/config.json b/publish/deployed/local-ovm/config.json "ReadProxyAddressResolver": {
"deploy": true
},
- "BinaryOptionMarketFactory": {
- "deploy": true
- },
- "BinaryOptionMarketManager": {
- "deploy": true
- },
- "BinaryOptionMarketData": {
- "deploy": true
- },
- "Depot": {
- "d... | 2 |
diff --git a/client/app/actions/index.js b/client/app/actions/index.js @@ -98,6 +98,7 @@ export const giveStoryEstimate = (storyId, value) => (dispatch, getState) => {
if (state.stories[storyId] && state.stories[storyId].estimations[state.userId] === value) {
command.name = 'clearStoryEstimate';
+ delete command.payloa... | 1 |
diff --git a/components/core/ProfilePhoto.js b/components/core/ProfilePhoto.js @@ -34,7 +34,12 @@ function BoringAvatar({ avatarCss, ...props }) {
let avatarUrl = `https://source.boringavatars.com/marble/${props.size}/${props.userId}?square&colors=${colors}`;
return (
<Dismissible captureResize={false} captureScroll={t... | 1 |
diff --git a/packages/fcl/src/current-user/index.js b/packages/fcl/src/current-user/index.js @@ -19,6 +19,7 @@ const DEL_CURRENT_USER = "DEL_CURRENT_USER"
const GET_AS_PARAM = "GET_AS_PARAM"
const CHALLENGE_RESPONSE_EVENT = "FCL::CHALLENGE::RESPONSE"
+const CHALLENGE_CANCEL_EVENT = "FCL::CHALLENGE::CANCEL"
const DATA =... | 11 |
diff --git a/src/components/ProductItem/ProductItem.js b/src/components/ProductItem/ProductItem.js @@ -7,8 +7,8 @@ import Hidden from "@material-ui/core/Hidden";
import Typography from "@material-ui/core/Typography";
import LoadingIcon from "mdi-material-ui/Loading";
import Link from "components/Link";
-import Badge fr... | 5 |
diff --git a/src/css_composer/model/CssRule.js b/src/css_composer/model/CssRule.js import Styleable from 'domain_abstract/model/Styleable';
+import { isEmpty, forEach } from 'underscore';
var Backbone = require('backbone');
var Selectors = require('selector_manager/model/Selectors');
@@ -118,6 +119,25 @@ module.exports... | 7 |
diff --git a/demo/context.js b/demo/context.js // eslint-disable-next-line no-unused-vars
-import { createElement, Component, createContext, Fragment } from "ceviche";
+import { createElement, Component, createContext, Fragment } from "preact";
const { Provider, Consumer } = createContext();
class ThemeProvider extends... | 10 |
diff --git a/lib/ContextModule.js b/lib/ContextModule.js @@ -166,7 +166,7 @@ webpackContext.id = ${JSON.stringify(id)};`;
}
getSourceWithBlocks(blocks, id) {
- let hasMultipleChunks = false;
+ let hasMultipleOrNoChunks = false;
const map = blocks
.filter(block => block.dependencies[0].module)
.map(function(block) {
@@ ... | 10 |
diff --git a/src/plots/cartesian/align_period.js b/src/plots/cartesian/align_period.js @@ -44,9 +44,8 @@ module.exports = function alignPeriod(trace, ax, axLetter, vals) {
// var isMiddle = 'middle' === alignment;
var isEnd = 'end' === alignment;
- var offset = (new Date()).getTimezoneOffset() * 60000;
var period0 = tr... | 2 |
diff --git a/tests/e2e/specs/Modeler.spec.js b/tests/e2e/specs/Modeler.spec.js @@ -17,15 +17,11 @@ const generateXML = (nodeName) => {
</bpmn:definitions>`;
};
-function dragFromSourceToDest(source, dest, positionX, positionY){
+function dragFromSourceToDest(source, dest, position) {
const dataTransfer = new DataTransf... | 2 |
diff --git a/src/app/Http/Controllers/Operations/UpdateOperation.php b/src/app/Http/Controllers/Operations/UpdateOperation.php @@ -59,7 +59,7 @@ trait UpdateOperation
*
* @param int $id
*
- * @return Response
+ * @return \Illuminate\Contracts\View\View
*/
public function edit($id)
{
@@ -82,7 +82,7 @@ trait UpdateOperat... | 1 |
diff --git a/src/tests/addons.test.js b/src/tests/addons.test.js @@ -5,6 +5,8 @@ const cliPath = require('./utils/cliPath')
const exec = require('./utils/exec')
const sitePath = path.join(__dirname, 'dummy-site')
+let siteId
+
const execOptions = {
stdio: [0, 1, 2],
cwd: sitePath,
@@ -30,6 +32,7 @@ test.before(async t ... | 12 |
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js }
if (this.options.title == undefined) {
- this.options.title = this.$element.attr('title');
+ this.options.title = this.$element[0].title;
}
if (this.options.selectedTextFormat == 'static') {
}
//strip all HTML tags and trim the result, then unescape any esc... | 4 |
diff --git a/src/lime/graphics/Image.hx b/src/lime/graphics/Image.hx @@ -629,6 +629,7 @@ class Image
#if flash
var buffer = new ImageBuffer(null, bitmapData.width, bitmapData.height);
buffer.__srcBitmapData = bitmapData;
+ buffer.transparent = bitmapData.transparent;
return new Image(buffer);
#else
return bitmapData.im... | 12 |
diff --git a/package.json b/package.json "strip-bom": "^2.0.0",
"testcafe-browser-tools": "2.0.16",
"testcafe-hammerhead": "24.5.4",
- "testcafe-legacy-api": "5.1.1",
+ "testcafe-legacy-api": "5.1.2",
"testcafe-reporter-json": "^2.1.0",
"testcafe-reporter-list": "^2.1.0",
"testcafe-reporter-minimal": "^2.1.0",
| 3 |
diff --git a/src/app.js b/src/app.js @@ -76,7 +76,7 @@ async function main(){
require('./apiv2')(app, db);
require('./donations/kofi')(app, db);
- async function getExtra(favorite = false){
+ async function getExtra(page = null, favorite = false){
const output = {};
output.twemoji = twemoji;
@@ -85,16 +85,15 @@ async f... | 7 |
diff --git a/style/monogatari.css b/style/monogatari.css @@ -31,7 +31,7 @@ html {
h1,
h2 {
padding: 0.03em;
- font-size: 7vmax;
+ font-size: 5rem;
}
h3 {
@@ -43,7 +43,7 @@ body {
width: 100vw;
max-height: 100vh;
max-width: 100vw;
- font-size: 2vmax;
+ font-size: 1.5rem;
text-align: center;
-webkit-background-size: cove... | 7 |
diff --git a/scripts/config.js b/scripts/config.js @@ -2,7 +2,7 @@ let utily = require("utily");
let pkg = require("../package.json");
//Generate the header
-module.exports = function() {
+exports.getHeader = function() {
let header = [];
header.push("/**");
header.push(" * @name {{ name }} v{{ version }}");
| 10 |
diff --git a/src/server/routes/index.js b/src/server/routes/index.js @@ -33,12 +33,25 @@ module.exports = function(crowi, app) {
/* eslint-disable max-len, comma-spacing, no-multi-spaces */
- app.get('/' , applicationInstalled, loginRequired , autoReconnectToSearch, page.showTopPage);
-
// API v3
app.use('/api-docs', r... | 12 |
diff --git a/edit.js b/edit.js @@ -6728,10 +6728,6 @@ function animate(timestamp, frame) {
_tickPlanetAnimation(factor);
} */
- /* if (session) {
- wristMenu.update(frame, session, renderer.xr.getReferenceSpace());
- } */
-
if (geometryWorker) {
pxMeshes = pxMeshes.filter(pxMesh => {
if (pxMesh.update()) {
| 2 |
diff --git a/src/components/common/view/Icon/config.json b/src/components/common/view/Icon/config.json "width": 790
},
"search": [
- "profile-privacy"
+ "privacy-policy"
]
},
{
},
{
"uid": "c4d7dc6f17825456e410da3f2e693a7f",
- "css": "profile-privacy",
+ "css": "privacy-policy",
"code": 59550,
"src": "custom_icons",
"s... | 10 |
diff --git a/assets/src/edit-story/components/library/mediaLibrary.js b/assets/src/edit-story/components/library/mediaLibrary.js @@ -172,7 +172,7 @@ function MediaLibrary( { onInsert } ) {
const insertMediaElement = ( attachment, width ) => {
const { src, mimeType, oWidth, oHeight } = attachment;
- const height = getRe... | 4 |
diff --git a/website/content/docs/add-to-your-site.md b/website/content/docs/add-to-your-site.md @@ -45,18 +45,8 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body>
</html>
-
-<!--
-The main script t... | 5 |
diff --git a/articles/api-auth/tutorials/authorization-code-grant.md b/articles/api-auth/tutorials/authorization-code-grant.md @@ -119,7 +119,7 @@ For details on the validations that should be performed refer to [Verify Access
## More reading
- [Calling APIs from Server-side Web Apps](/api-auth/grant/authorization-code... | 0 |
diff --git a/geoportal/src/main/resources/metadata/details/arcgis-details.xslt b/geoportal/src/main/resources/metadata/details/arcgis-details.xslt <xsl:value-of select="local-name()"/>
</xsl:with-param>
</xsl:call-template>
+ <xsl:text> </xsl:text>
<xsl:value-of select="@value"/>
+ <br/>
</xsl:when>
<xsl:when test="./*... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.