code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/userscript.user.js b/userscript.user.js @@ -17305,7 +17305,7 @@ var $$IMU_EXPORT$$;
if (domain === "live.staticflickr.com") {
// https://live.staticflickr.com/4741/buddyicons/70777296@N08_l.jpg
// https://live.staticflickr.com/4741/buddyicons/70777296@N08_r.jpg
- newsrc = src.replace(/(\/buddyicons\/+[0-9]... | 7 |
diff --git a/src/components/contained-items-list/index.js b/src/components/contained-items-list/index.js @@ -13,7 +13,7 @@ import categoryData from '../../data/category-data.json';
const ContainedItemsList = ({item}) => {
const items = useSelector(selectAllItems);
- if(!item.canHoldItems){
+ if(!item.canHoldItems || (i... | 9 |
diff --git a/assets/src/utils/toggles.js b/assets/src/utils/toggles.js import parse from 'url-parse';
-// eslint-disable-next-line import/prefer-default-export
export const isWaitlistFeatureActive = () => {
const { query } = parse(window.location.href, true);
return 'waitlist' in query && query.waitlist === 'active';
}... | 0 |
diff --git a/src/lib/gundb/UserStorage.js b/src/lib/gundb/UserStorage.js @@ -50,8 +50,9 @@ class UserStorage {
async init() {
logger.debug('Initializing GunDB UserStorage')
- const username = await this.wallet.sign('GoodDollarUser')
- const password = await this.wallet.sign('GoodDollarPass')
+ //sign with different add... | 0 |
diff --git a/plugins/ColorFilters.js b/plugins/ColorFilters.js @@ -23,25 +23,19 @@ Phaser.Filter.ColorFilters = function (game) {
"void main(void) {",
"gl_FragColor = texture2D(uSampler, vTextureCoord);",
+ "if (gray != 0.0) {",
"gl_FragColor.rgb = mix(gl_FragColor.rgb, vec3(0.2126 * gl_FragColor.r + 0.7152 * gl_FragCo... | 7 |
diff --git a/js/views/search/Search.js b/js/views/search/Search.js @@ -450,14 +450,14 @@ export default class extends baseVw {
}
clickSearchBtn() {
- this.setSearch({ q: this.getCachedEl('.js-searchInput').val(), p: 0 });
+ this.setSearch({ q: this.getCachedEl('.js-searchInput').val(), p: 0 }, { force: true });
recordE... | 11 |
diff --git a/home.scn b/home.scn "quaternion": [0, 0, 0, 1],
"scale": [1, 1, 1],
"start_url": "https://avaer.github.io/hookshot/index.js"
- },
- {
- "name": "model",
- "position": [0, 0, 0],
- "quaternion": [0, 0, 0, 1],
- "scale": [1, 1, 1],
- "start_url": "https://avaer.github.io/parkour/parkour.glb",
- "physics_url"... | 2 |
diff --git a/src/lib/API/api.js b/src/lib/API/api.js @@ -118,7 +118,8 @@ class API {
* @param {UserRecord} user
*/
addUser(user: UserRecord): AxiosPromise<any> {
- return this.client.post('/user/add', { user })
+ //-skipRegistrationStep ONLY FOR TESTING delete this condition aftere testing
+ return this.client.post('/u... | 0 |
diff --git a/src/RouterSelector.web.js b/src/RouterSelector.web.js @@ -33,7 +33,7 @@ const handleLinks = async () => {
try {
const { magiclink } = params
if (magiclink) {
- let userNameAndPWD = Buffer.from(magiclink, 'base64').toString('ascii')
+ let userNameAndPWD = Buffer.from(decodeURIComponent(magiclink), 'base64')... | 0 |
diff --git a/src/screens/SavedEventListScreen/NoSavedEvents.js b/src/screens/SavedEventListScreen/NoSavedEvents.js // @flow
import React, { PureComponent } from "react";
-import { Image, StyleSheet, ScrollView } from "react-native";
+import {
+ Image,
+ PixelRatio,
+ Platform,
+ StyleSheet,
+ ScrollView
+} from "react-... | 0 |
diff --git a/CHANGES.md b/CHANGES.md @@ -30,6 +30,8 @@ Change Log
* Fixed an issue where polygons, corridors, rectangles, and ellipses on terrain would not render on some mobile devices. [#6739](https://github.com/AnalyticalGraphicsInc/cesium/issues/6739)
* Fixed a bug where GlobeSurfaceTile would not render the tile u... | 5 |
diff --git a/src/components/CartPopover/CartPopover.js b/src/components/CartPopover/CartPopover.js @@ -158,7 +158,7 @@ class CartPopover extends Component {
if (cartItem) {
return (
- <Hidden mdUp>
+ <Hidden mdUp implementation="css">
<div className={classNames(container, { [isContainerHidden]: !uiStore.isCartPopoverOp... | 4 |
diff --git a/src/containers/tags/withTag.js b/src/containers/tags/withTag.js @@ -23,14 +23,14 @@ export default (Component) => (
return (
<Query query={tagQuery} variables={{ slugOrId: tag }}>
- {({ loading, error, data }) => {
- if (loading || error) return null;
- if (!data || !data.tag) return null;
+ {({ error, dat... | 2 |
diff --git a/test/y_volume_restriction_tm.js b/test/y_volume_restriction_tm.js @@ -1773,7 +1773,7 @@ contract('VolumeRestrictionTransferManager', accounts => {
let amt = (await I_VolumeRestrictionTM.getTotalTradedByUser.call(account_delegate2, data[0].toNumber()))
.dividedBy(new BigNumber(10).pow(18)).toNumber();
// Ve... | 7 |
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/App.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/App.tsx @@ -13,10 +13,15 @@ const App: FC = (): JSX.Element => {
const [key, setKey] = useState('');
useEffect(() => {
- Axios.get('http://localhost:8000/api/appinsight/key')
- .then(({... | 9 |
diff --git a/token-metadata/0xaAAf91D9b90dF800Df4F55c205fd6989c977E73a/metadata.json b/token-metadata/0xaAAf91D9b90dF800Df4F55c205fd6989c977E73a/metadata.json "symbol": "TKN",
"address": "0xaAAf91D9b90dF800Df4F55c205fd6989c977E73a",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/lib/waterline/utils/query/help-find.js b/lib/waterline/utils/query/help-find.js @@ -214,7 +214,7 @@ module.exports = function helpFind(WLModel, s2q, omen, done) {
// Start building the query to the junction table.
var junctionTableQuery = {
- using: firstJoin.child,
+ using: firstJoin.child,// TODO: we sho... | 0 |
diff --git a/core/bound_variables.js b/core/bound_variables.js @@ -292,7 +292,7 @@ Blockly.BoundVariables.getAllVariablesOnBlocks = function(block, opt_filter) {
* @return {boolean} True if the renaming is valid.
*/
Blockly.BoundVariables.canRenameTo = function(variable, newName) {
- if (!Blockly.BoundVariables.isLegal... | 2 |
diff --git a/tests/e2e/specs/modules/search-console/dashboard-date-range.test.js b/tests/e2e/specs/modules/search-console/dashboard-date-range.test.js @@ -125,7 +125,7 @@ describe( 'date range filtering on dashboard views', () => {
] );
} );
- it( 'loads new data when the date range is changed on a entity dashboard vie... | 1 |
diff --git a/src/util.js b/src/util.js @@ -486,6 +486,7 @@ async function messagesAfter(channel, message, limit) {
* @return {Boolean}
*/
util.ignoresAutomod = async (message) => {
+ if (!message.guild) return false;
/** @type {GuildConfig} */
const guildconfig = await GuildConfig.get(message.guild.id);
return message.... | 8 |
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -529,8 +529,7 @@ function fetchIOUReportByID(iouReportID, chatReportID, shouldRedirectIfEmpty = f
function fetchIOUReportByIDAndUpdateChatReport(iouReportID, chatReportID) {
fetchIOUReportByID(iouReportID, chatReportID)
.then((iouReportObject) => {... | 13 |
diff --git a/app/math-editor.js b/app/math-editor.js @@ -211,26 +211,22 @@ function isMathEditorVisible() {
}
const markAndGetInlineImages = $editor => {
- return $editor.find('img[src^="data"]')
- .each((i, el) => el.setAttribute('id', new Date().getTime() + '-' + i))
- .map((i, el) => {
- const ret = Object.assign(de... | 2 |
diff --git a/binding.js b/binding.js @@ -73,7 +73,7 @@ module.exports.download_vips = function () {
// Ensure glibc >= 2.15
const lddVersion = process.env.LDD_VERSION;
if (lddVersion) {
- if (/(glibc|gnu libc|gentoo)/i.test(lddVersion)) {
+ if (/(glibc|gnu libc|gentoo|solus)/i.test(lddVersion)) {
const glibcVersion = l... | 0 |
diff --git a/test/Air/Air.test.js b/test/Air/Air.test.js @@ -109,7 +109,7 @@ describe('#AirService', () => {
});
it('should call cancel ur if segment booking failed', () => {
- const params = { passengers: [], rule: 'RULE' };
+ const params = { passengers: [], rule: 'RULE', /*allowWaitlist: true*/ };
const airPricePric... | 1 |
diff --git a/src/encoded/static/components/footer.js b/src/encoded/static/components/footer.js @@ -2,11 +2,9 @@ import React from 'react';
import PropTypes from 'prop-types';
-// Reworking the data triggers to use buttons doesn't seem worth it to avoid an eslint warning.
-/* eslint-disable jsx-a11y/anchor-is-valid, rea... | 0 |
diff --git a/test/Annotations.test.js b/test/Annotations.test.js import { test } from 'substance-test'
-import { setCursor, setSelection } from './integrationTestHelpers'
+import { setCursor, setSelection, openManuscriptEditor, loadBodyFixture } from './integrationTestHelpers'
import setupTestApp from './setupTestApp'
... | 4 |
diff --git a/app/webpack/observations/identify/components/suggestions.jsx b/app/webpack/observations/identify/components/suggestions.jsx @@ -55,12 +55,11 @@ class Suggestions extends React.Component {
} }
/>
<div className="btn-group pull-right">
- { details && details.vision_score ? (
+ { details && ( details.vision_s... | 9 |
diff --git a/assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/index.js b/assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/index.js @@ -310,9 +310,9 @@ function DashboardIdeasWidget( props ) {
'google-site-kit'
) }
</span>
+ { /* Gap applied to title text due to potential wrapping... | 2 |
diff --git a/main/utils/config.js b/main/utils/config.js @@ -76,7 +76,7 @@ const initializeConfig = (opts = {}) => {
*/
const initConfigFile = async (options = {}) => {
- const opts = Object.assign(defaultOptions, options)
+ const opts = Object.assign({}, defaultOptions, options)
const config = initializeConfig(opts)
a... | 1 |
diff --git a/docs/general/data-structures.md b/docs/general/data-structures.md The `data` property of a dataset can be passed in various formats. By default, that `data` is parsed using the associated chart type and scales.
If the `labels` property of the main `data` property is used, it has to contain the same amount ... | 1 |
diff --git a/src/lib/gundb/UserStorage.js b/src/lib/gundb/UserStorage.js @@ -253,6 +253,33 @@ export class UserStorage {
})
}
+ gunAuth(username: string, password: string): Promise<any> {
+ return new Promise((res, rej) => {
+ this.gunuser.auth(username, password, user => {
+ logger.debug('gundb auth', user)
+ if (user... | 0 |
diff --git a/packages/http-router/index.js b/packages/http-router/index.js @@ -7,6 +7,10 @@ const httpRouteHandler = (routes) => {
for (const route of routes) {
let { method, path, handler } = route
+ if (!methods.concat('ANY').includes(method)) {
+ throw new Error('method not allowed')
+ }
+
// remove trailing slash, ... | 1 |
diff --git a/packages/proxy-compat/src/main-noop.ts b/packages/proxy-compat/src/main-noop.ts import { getKey, callKey, setKey, deleteKey, inKey, iterableKey } from "./methods-noop";
-export default Object.assign({}, {
+export default {
getKey,
callKey,
setKey,
deleteKey,
inKey,
iterableKey
-});
+};
| 1 |
diff --git a/packages/bitcore-node/test/integration/ripple/csp.integration.ts b/packages/bitcore-node/test/integration/ripple/csp.integration.ts import { XRP } from '../../../src/modules/ripple/api/csp';
import { expect } from 'chai';
+import { XrpBlockStorage } from '../../../src/modules/ripple/models/block';
const ch... | 1 |
diff --git a/src/apps.json b/src/apps.json 48
],
"icon": "Synology DiskStation.png",
+ "html": "<noscript><div class='syno-no-script'",
"meta": {
- "application-name": "Synology DiskStation"
+ "application-name": "Synology DiskStation",
+ "description": "^DiskStation provides a full-featured network attached storage"
}... | 7 |
diff --git a/.drone.yml b/.drone.yml @@ -23,11 +23,9 @@ publish:
".js": gzip
".css": gzip
".html": gzip
- metadata:
- "*.js":
- Cache-Control: "public, max-age: 86400"
- "*.css":
- Cache-Control: "public, max-age: 86400"
+ cache_control:
+ ".js": "public, max-age: 86400"
+ ".css": "public, max-age: 86400"
when:
branch:... | 4 |
diff --git a/src/components/views/Navigation/index.js b/src/components/views/Navigation/index.js @@ -179,8 +179,10 @@ class Navigation extends Component {
z: this.courseCoordinate()
}
});
+ if (this.scanning) {
this.scanning = setTimeout(this._randomCourse.bind(this), 60);
}
+ }
updateDestination = e => {
e.preventDefa... | 1 |
diff --git a/pages/cardGroups.js b/pages/cardGroups.js @@ -278,20 +278,7 @@ const Page = ({ data, data: { cardGroups }, router, t }) => (
{Flag && <Flag size={SIZE} {...styles.flag} />}
<strong>{cardGroup.name}</strong>
<br />
- <span>
- {t.pluralize.elements(
- 'pages/cardGroups/cardCount',
- {
- count: (
- <span key=... | 6 |
diff --git a/README.md b/README.md @@ -694,7 +694,7 @@ One caveat is that currently you [cannot Server-Side Render along with HMR](http
- [react\_on\_rails](https://github.com/shakacode/react_on_rails): Integration of React with Rails utilizing Webpack, Redux, React-Router.
- [react-rails-hot-loader](https://github.com... | 1 |
diff --git a/components/landing/stats.js b/components/landing/stats.js @@ -84,9 +84,10 @@ class CoverageChart extends React.Component {
<Text fontSize={18}>
<FormattedMarkdown id={'Home.MonthlyStats.SummaryText'}
values={{
- measurementCount: intl.formatNumber(lastMonth.measurementCount),
- networkCount: intl.formatNum... | 5 |
diff --git a/rss/initializeall.js b/rss/initializeall.js @@ -45,7 +45,7 @@ module.exports = function(con, link, rssList, uniqueSettings, callback) {
requestStream(link, cookies, feedparser, function(err) {
if (err) {
- console.log(`${bot.shard ? 'SH ' + bot.shard.id : ''} INIT Error: Skipping ${link}. (${err})`);
+ con... | 1 |
diff --git a/.travis.yml b/.travis.yml @@ -18,7 +18,7 @@ install:
script:
- if [[ "$TEST_TYPE" = objc-macos ]]; then travis_retry travis_wait ./scripts/objc-test-macos.sh test; fi
- if [[ "$TEST_TYPE" = e2e-objc ]]; then node ./scripts/run-ci-e2e-tests.js --macos --js --retries 3; fi
- - if [[ ( "$TEST_TYPE" = podspecs... | 8 |
diff --git a/core/server/api/canary/session.js b/core/server/api/canary/session.js const Promise = require('bluebird');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const errors = require('@tryghost/errors');
const models = require('../../models');
const auth = require('../../se... | 14 |
diff --git a/app/classifier/tutorial.jsx b/app/classifier/tutorial.jsx @@ -192,10 +192,10 @@ export default class Tutorial extends React.Component {
if (this.props.user) {
const { projectPreferences } = this.props;
// Build this manually. Having an index (even as a strings) keys creates an array.
- if (projectPreferenc... | 12 |
diff --git a/elements/course-design/lib/activity-box.js b/elements/course-design/lib/activity-box.js @@ -194,14 +194,11 @@ class ActivityBox extends LitElement {
></simple-icon>
`
: html``}
- ${this.tag
- ? html`<div class="tag">
+ <div class="tag" ?hidden=${!this.tag}>
<span
- ><simple-icon icon="check-circle"></simpl... | 1 |
diff --git a/docs/src/pages/getting-started/installation.md b/docs/src/pages/getting-started/installation.md @@ -25,7 +25,7 @@ on how to do so.
## SVG Icons
In order to use prebuilt SVG Material icons, such as those found in the [component demos](/component-demos)
-you must first install the [material-ui-icons](https:/... | 1 |
diff --git a/token-metadata/0x6fe56C0bcdD471359019FcBC48863d6c3e9d4F41/metadata.json b/token-metadata/0x6fe56C0bcdD471359019FcBC48863d6c3e9d4F41/metadata.json "symbol": "PROPS",
"address": "0x6fe56C0bcdD471359019FcBC48863d6c3e9d4F41",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/spec/factories/users.rb b/spec/factories/users.rb @@ -18,8 +18,6 @@ FactoryGirl.define do
quota_in_bytes 5000000
id { UUIDTools::UUID.timestamp_create.to_s }
builder_enabled nil # Most tests still assume editor
- organization_id nil
- database_schema 'public'
trait :admin_privileges do
username 'Admin'
| 2 |
diff --git a/webpack/postcss.config.js b/webpack/postcss.config.js @@ -12,6 +12,11 @@ module.exports = {
'postcss-nesting': {},
'postcss-preset-env': {
stage: 0,
+ features: {
+ 'custom-properties': {
+ preserve: false
+ }
+ }
},
'postcss-reporter': {
clearMessages: true
| 12 |
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
+
+ <!-- Custom URI handlers. Used to intercept Urb... | 7 |
diff --git a/token-metadata/0x0417912b3a7AF768051765040A55BB0925D4DDcF/metadata.json b/token-metadata/0x0417912b3a7AF768051765040A55BB0925D4DDcF/metadata.json "symbol": "LID",
"address": "0x0417912b3a7AF768051765040A55BB0925D4DDcF",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/world.js b/world.js @@ -280,6 +280,7 @@ const _addObject = dynamic => (contentId, parentId = null, position = new THREE.
trackedObject.set('contentId', contentId);
trackedObject.set('position', position.toArray());
trackedObject.set('quaternion', quaternion.toArray());
+ trackedObject.set('scale', [1, 1, 1... | 0 |
diff --git a/character-controller.js b/character-controller.js @@ -1197,6 +1197,14 @@ class RemotePlayer extends InterpolatedPlayer {
}
const observePlayerFn = e => {
+ if(e.changes.keys.has('avatar')) {
+ const avatar = e.changes.keys.get('avatar').value;
+ if(avatar === '') {
+ console.warn("Ignoring avatar sync", av... | 0 |
diff --git a/js/base/Exchange.js b/js/base/Exchange.js @@ -157,7 +157,6 @@ module.exports = class Exchange {
this.iso8601 = timestamp => new Date (timestamp).toISOString ()
this.parse8601 = x => Date.parse (((x.indexOf ('+') >= 0) || (x.slice (-1) === 'Z')) ? x : (x + 'Z'))
- this.milliseconds = now
this.microseconds =... | 11 |
diff --git a/index.js b/index.js module.exports = {
name: 'ember-flatpickr',
included: function(app) {
- let cssPath = 'themes/';
if (app.options && app.options.flatpickr && app.options.flatpickr.theme) {
- cssPath += app.options.flatpickr.theme;
+ this.theme = `themes/${app.options.flatpickr.theme}.css`;
}
- else {
- ... | 11 |
diff --git a/src/components/Player/Pages/Histograms/Histograms.jsx b/src/components/Player/Pages/Histograms/Histograms.jsx @@ -25,9 +25,7 @@ const getSubtitleStats = (columns) => {
return `${strings.heading_total_matches}: ${total}${(median !== undefined) ? `, ${strings.heading_median}: ${median}` : ''}`;
};
-const get... | 1 |
diff --git a/src/components/NextButtonContainer.js b/src/components/NextButtonContainer.js import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { compose, mapProps, getContext } from 'recompose';
-import { hasNextSelector } from '../selectors/dataSelectors';
+import { hasNextSelector,... | 0 |
diff --git a/js/binance.js b/js/binance.js @@ -4413,12 +4413,12 @@ module.exports = class binance extends Exchange {
const defaultMethod = this.safeString (this.options, 'fetchPositions', 'positionRisk');
const method = this.getSupportedMapping (defaultMethod, {
'positionRisk': 'fetchPositionsRisk',
- 'account': 'fetch... | 10 |
diff --git a/components/admin/data/layers/form/LayersForm.js b/components/admin/data/layers/form/LayersForm.js @@ -54,12 +54,6 @@ class LayersForm extends React.Component {
this.props.dispatch(setLayerInteractionError(valid ? false : err));
}
});
-
- // BINDINGS
- this.onSubmit = this.onSubmit.bind(this);
- this.onChan... | 14 |
diff --git a/packages/neutrine/src/core/breadcrumb/index.js b/packages/neutrine/src/core/breadcrumb/index.js @@ -6,11 +6,15 @@ import "@siimple/css/scss/components/breadcrumb.scss";
//Breadcrumb parent component
export const Breadcrumb = function (props) {
- return helpers.createMergedElement("div", props, "siimple-bre... | 1 |
diff --git a/stories/module-analytics-components.stories.js b/stories/module-analytics-components.stories.js @@ -24,7 +24,6 @@ import DashboardAllTrafficWidget from '../assets/js/modules/analytics/components
import DashboardPopularPagesWidget from '../assets/js/modules/analytics/components/dashboard/DashboardPopularPag... | 2 |
diff --git a/lib/plugins/aws/provider/awsProvider.test.js b/lib/plugins/aws/provider/awsProvider.test.js @@ -240,6 +240,7 @@ describe('AwsProvider', () => {
describe('#request()', () => {
beforeEach(() => {
+ serverless.service.provider.credentials = {}
const originalSetTimeout = setTimeout;
sinon
.stub(global, 'setTim... | 12 |
diff --git a/packages/component-library/src/Scatterplot/Scatterplot.test.js b/packages/component-library/src/Scatterplot/Scatterplot.test.js @@ -27,10 +27,10 @@ describe('Scatterplot', () => {
const wrapper = shallow(<Scatterplot data={simpleData} />);
expect(wrapper.find({ title: 'Scatter Plot' }).length).to.eql(1);
e... | 3 |
diff --git a/generators/app/index.js b/generators/app/index.js @@ -334,20 +334,24 @@ module.exports = class JHipsterAppGenerator extends BaseBlueprintGenerator {
_composing() {
return {
/**
- * Composing with others generators, must be runned after `configuring` priority to let blueprints
- * `configuring` tasks to run... | 7 |
diff --git a/src/components/mousewheel/mousewheel.js b/src/components/mousewheel/mousewheel.js @@ -319,10 +319,18 @@ const Mousewheel = {
const window = getWindow();
if (
- this.params.mousewheel.preventSwipeThreshold &&
- newEvent.delta < this.params.mousewheel.preventSwipeThreshold
+ this.params.mousewheel.preventSwi... | 0 |
diff --git a/pages/bases-locales/publication.js b/pages/bases-locales/publication.js import {useState, useEffect, useCallback} from 'react'
import PropTypes from 'prop-types'
import Image from 'next/image'
+import Link from 'next/link'
import Page from '@/layouts/main'
@@ -138,7 +139,7 @@ function PublicationPage({defa... | 0 |
diff --git a/components/DataGrid/DataGrid.js b/components/DataGrid/DataGrid.js @@ -596,7 +596,7 @@ var DataGrid = function (_props)
_cellItemRenderers[Math.min(rowIndex, _rowCount - 1)][columnIndex].hide();
let itemEditorInfo = _cellItemEditors[columnIndex];
let itemEditor;
- if (itemEditorInfo == null || !document.con... | 14 |
diff --git a/articles/extensions/deploy-cli/guides/incorporate-deploy-cli-into-build-environment.md b/articles/extensions/deploy-cli/guides/incorporate-deploy-cli-into-build-environment.md @@ -52,7 +52,7 @@ Your CI server should have a different deploy task and config for each environme
The deploy task should do the fo... | 2 |
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -46,9 +46,9 @@ jobs:
run: yarn build
- name: Github auth
run: |
- git config --global user.name 'Your Name'
- git config --global user.email 'your-username@users.noreply.github.com'
- git remote set-url origin https://x-access-token:${{ secre... | 12 |
diff --git a/package.json b/package.json "version": "0.1.0",
"description": "",
"scripts": {
- "clean": "rm -rf node_modules && lerna clean --yes",
+ "clean": "lerna clean --yes || true",
+ "postclean": "rm -rf node_modules",
"postinstall": "lerna bootstrap",
"test": "jest",
"posttest": "standard",
"setupTestFrameworkS... | 11 |
diff --git a/src/core/content/connector.js b/src/core/content/connector.js @@ -482,6 +482,9 @@ function BaseConnector() {
*/
let isPlaying = this.isPlaying();
if (isPlaying !== currentState.isPlaying) {
+ // @ifdef DEBUG
+ Util.debugLog(`isPlaying state changed to ${isPlaying}`);
+ // @endif
this.stateChangedWorker();
... | 7 |
diff --git a/src/mode/cam/ops.js b/src/mode/cam/ops.js slice(progress) {
let { op, state } = this;
let { tool, rate, down, plunge, offset } = op;
- let { settings, widget, sliceAll, zMax, zTop, tabs } = state;
+ let { settings, widget, sliceAll, zMax, zTop, zThru, tabs } = state;
let { updateToolDiams, cutTabs, cutPoly... | 11 |
diff --git a/articles/email/custom.md b/articles/email/custom.md @@ -18,8 +18,6 @@ The Auth0 Management API provides endpoints that allow you to completely manage
To begin, you will need to disable automatic emails by deselecting **Status** under the **Verification Email** and **Welcome Email** tabs on the [Email Templ... | 2 |
diff --git a/src/components/Modeler.vue b/src/components/Modeler.vue <button @click="redo" :disabled="!canRedo" data-test="redo">Redo</button>
</div>
- <button class="validate-button" @click="validateBpmnDiagram">Validate Diagram</button>
-
<drop @drop="handleDrop" @dragover="validateDropTarget">
<div ref="paper" data-... | 2 |
diff --git a/test/server/card/drawcard.hasKeyword.spec.js b/test/server/card/drawcard.hasKeyword.spec.js @@ -76,7 +76,7 @@ describe('the DrawCard', function() {
describe('when the card has a keyword line', function() {
beforeEach(function() {
- this.card = new DrawCard(this.player, { type_code: 'attachment', cost: 0, t... | 3 |
diff --git a/js/annotationtools/ToolBar.js b/js/annotationtools/ToolBar.js +/**
+ * Get option values for "tool" element, else set default values.
+ *
+ * @param element
+ * @param options
+ * @constructor
+ */
var ToolBar = function (element, options) {
// console.log(options)
this.annotools = options.annotool
@@ -13,... | 1 |
diff --git a/src/viewport.js b/src/viewport.js @@ -165,8 +165,8 @@ $.Viewport.prototype = {
// deprecated
set degrees (degrees) {
- $.console.warn('Setting [Viewport.degrees] is deprecated. Use viewport.setRotation instead.');
- this.setRotation(degrees);
+ $.console.warn('Setting [Viewport.degrees] is deprecated. Use ... | 3 |
diff --git a/src/components/stepOne.js b/src/components/stepOne.js @@ -78,7 +78,7 @@ export class stepOne extends React.Component {
state.contracts[contract] = {
src,
bin,
- abi: JSON.parse(abi),
+ abi: JSON.parse(JSON.stringify(abi)),
addr: (contract=="crowdsale" || contract=="pricingStrategy" || contract=="finalizeAg... | 1 |
diff --git a/packages/app/src/services/renderer/rehype-plugins/keyword-highlighter.ts b/packages/app/src/services/renderer/rehype-plugins/keyword-highlighter.ts @@ -10,7 +10,7 @@ import { Plugin } from 'unified';
* @param value
* @returns
*/
-function splitWithKeyword(keyword: string, value: string): string[] {
+functi... | 8 |
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -1497,11 +1497,13 @@ InteractiveVideo.prototype.toggleEndscreen = function (show) {
if (show) {
this.disableTabIndexes('.h5p-interactive-video-endscreen');
+ this.controls.$endscreensButton.attr('aria-expanded', true);
this.stateBeforeE... | 0 |
diff --git a/tools/make/lib/addons/Makefile b/tools/make/lib/addons/Makefile @@ -56,8 +56,11 @@ install-addons: $(NODE_GYP)
echo "Add-on: $$pkg"; \
echo 'Compiling source...'; \
cd $$pkg/src && \
+ CC=$(CC) \
C_COMPILER=$(C_COMPILER) \
+ CXX=$(CXX) \
FORTRAN_COMPILER=$(FORTRAN_COMPILER) \
+ FC=$(FC) \
fPIC=$(fPIC) \
$(... | 12 |
diff --git a/src/react/projects/spark-react/src/SprkButton/SprkButton.js b/src/react/projects/spark-react/src/SprkButton/SprkButton.js @@ -36,7 +36,7 @@ const SprkButton = ({
data-id={idString}
data-analytics={analyticsString}
disabled={disabled}
- href={href}
+ href={TagName !== 'button' ? href : undefined}
{...rest}
... | 3 |
diff --git a/src/components/layouts/Layout.js b/src/components/layouts/Layout.js @@ -76,15 +76,12 @@ const Layout = ({ children, initialContext, hasSideBar, location }) => {
Skip to Main Content
</SprkLink>
</div>
- <div
- className="sprk-u-BackgroundColor--black
- sprk-u-pvm
- sprk-u-AbsoluteCenter"
- >
- <p className... | 3 |
diff --git a/src/lambda/routes/invocations/invocationsRoute.js b/src/lambda/routes/invocations/invocationsRoute.js @@ -50,6 +50,6 @@ export default function invocationsRoute(lambda) {
},
tags: ['api'],
},
- path: '/{apiVersion}/functions/{functionName}/invocations',
+ path: '/2015-03-31/functions/{functionName}/invocat... | 0 |
diff --git a/content/custom-scripts/beta-deployment-with-fastlane.md b/content/custom-scripts/beta-deployment-with-fastlane.md @@ -4,10 +4,10 @@ title: Run fastlane for beta deployment
weight: 4
---
-If your Flutter app has an existing *fastlane* setup for beta deployment, you can easily run *fastlane* scripts as part ... | 1 |
diff --git a/app/collections/files.js b/app/collections/files.js @@ -10,12 +10,16 @@ var cookie = require('../cookie');
var util = require('../util');
var ignore = require('ignore');
-function replaceVariables (variables, setting) {
- var result = setting;
+/*
+ * placeholderValues {object} mapping of placeholders, ie ... | 0 |
diff --git a/src/components/explorer/builder/QueryForm.js b/src/components/explorer/builder/QueryForm.js @@ -16,6 +16,7 @@ import SavedSearchControls from './SavedSearchControls';
import { emptyString, validDate } from '../../../lib/formValidators';
import { isStartDateAfterEndDate, isValidSolrDate } from '../../../lib... | 9 |
diff --git a/devtools/test_dashboard/index-mathjax3.html b/devtools/test_dashboard/index-mathjax3.html <section id="mocks-list"></section>
- <p>MathJax $V^3$ with $svg$ output on the page as well as plotly graphs</p>
+ <p id="pWithMathJax">MathJax $V^3$ with $svg$ output on the page as well as plotly graphs</p>
+ <h4>n... | 7 |
diff --git a/services/importer/spec/acceptance/shp_spec.rb b/services/importer/spec/acceptance/shp_spec.rb @@ -53,8 +53,6 @@ describe 'SHP regression tests' do
user: @user
})
runner.run
- puts runner.log
- Rails.logger.info runner.log
geometry_type_for(runner, @user).should eq "MULTIPOLYGON"
job = runner.send(:job)
| 2 |
diff --git a/app/src/scripts/admin/admin.store.js b/app/src/scripts/admin/admin.store.js @@ -326,8 +326,9 @@ let UserStore = Reflux.createStore({
required: true,
type: 'select',
}
-
+ if (!formData.parameters.includes('participant_label')) {
formData.parameters.push(participantLabel)
+ }
// Can split out paramter metad... | 12 |
diff --git a/test/needle-api/needle-server-cache.spec.js b/test/needle-api/needle-server-cache.spec.js @@ -240,36 +240,6 @@ describe('needle API server cache: JHipster server generator with blueprint', ()
})
.on('end', done);
});
-
- it('Assert Infinispan configuration has entity added', () => {
- assert.fileContent(
-... | 1 |
diff --git a/packages/app/src/components/InAppNotification/NotificationContent.tsx b/packages/app/src/components/InAppNotification/NotificationContent.tsx import React from 'react';
+import { PagePathLabel } from '@growi/ui';
import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification'... | 4 |
diff --git a/lib/tests/test.js b/lib/tests/test.js @@ -119,14 +119,21 @@ class Test {
if (this.error) {
return callback(this.error);
}
- this.events.once('ready', () => {
- self.events.removeListener('deployError', () => {});
- callback();
- });
- this.events.once('deployError', (err) => {
- self.events.removeListener(... | 2 |
diff --git a/packages/node_modules/@node-red/runtime/lib/flows/util.js b/packages/node_modules/@node-red/runtime/lib/flows/util.js @@ -271,7 +271,7 @@ module.exports = {
parseConfig: parseConfig,
- diffConfigs: function(oldConfig, newConfig, ignoreGroup) {
+ diffConfigs: function(oldConfig, newConfig) {
var id;
var nod... | 13 |
diff --git a/src/components/dashboard/__tests__/FaceRecognition.js b/src/components/dashboard/__tests__/FaceRecognition.js import React from 'react'
import renderer from 'react-test-renderer'
+import zoomSdkLoader from '../FaceRecognition/ZoomSdkLoader'
import { getWebRouterComponentWithMocks } from './__util__'
// Not... | 0 |
diff --git a/public/javascripts/Choropleths/InitializeStreets.js b/public/javascripts/Choropleths/InitializeStreets.js @@ -13,15 +13,11 @@ function InitializeStreets(map, params, streetData) {
let hasUnauditedStreets = params.unauditedStreetColor != null;
function onEachStreetFeature(feature, layer) {
- let popupConten... | 3 |
diff --git a/edit.js b/edit.js @@ -4,6 +4,7 @@ import * as THREE from 'https://static.xrpackage.org/xrpackage/three.module.js';
import {BufferGeometryUtils} from 'https://static.xrpackage.org/BufferGeometryUtils.js';
import {GLTFLoader} from './GLTFLoader.js';
import {TransformControls} from './TransformControls.js';
+... | 0 |
diff --git a/test/proxy_code.js b/test/proxy_code.js @@ -124,7 +124,7 @@ describe('proxy program', function() {
" im.src = proxy url\n" +
"window.d = null\n" +
"await loadImageData " +
- "'http://davidbau.com/images/art/enigma.jpg', defer window.d\n"
+ "'http://davidbau.com/mandelbrot/mandelzoom.gif', defer window.d\n"... | 4 |
diff --git a/tests/e2e/specs/modules/analytics/setup-with-account-no-tag.test.js b/tests/e2e/specs/modules/analytics/setup-with-account-no-tag.test.js @@ -164,7 +164,8 @@ describe( 'setting up the Analytics module with an existing account and no exist
await expect( page ).toClick( '.mdc-menu-surface--open .mdc-list-ite... | 2 |
diff --git a/api/src/api/v2.js b/api/src/api/v2.js @@ -37,7 +37,7 @@ router.post('/execute', async function(req, res){
}
for (const [i,file] of files.entries()) {
- if(!file.content || typeof file.content !== "string"){
+ if(typeof file.content !== "string"){
return res
.status(400)
.send({
| 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.