code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/metaverse_modules/spawner/index.js b/metaverse_modules/spawner/index.js @@ -8,6 +8,8 @@ export default e => {
const scene = useScene();
const procGenManager = useProcGenManager();
+ app.name = 'spawner';
+
const appUrls = app.getComponent('appUrls') ?? [];
const procGenInstance = procGenManager.getInstance... | 0 |
diff --git a/README.md b/README.md @@ -92,16 +92,19 @@ Users can now test their application for vulnerabilities including: SQL Injectio
### Signup + login

-### Snyk auth + dependency test
+### Github Oauth login
+
+
+### Vue Test

-### Snyk fix... | 3 |
diff --git a/infra/discovery/src/listener/handler_proxy.js b/infra/discovery/src/listener/handler_proxy.js @@ -4,6 +4,8 @@ const contracts = esmImport('@origin/graphql/src/contracts').default
const logger = require('./logger')
+const ZeroAddress = '0x00000000000000000000000000000000000000'
+
class ProxyEventHandler {
c... | 8 |
diff --git a/src/traces/histogram/calc.js b/src/traces/histogram/calc.js @@ -40,12 +40,9 @@ module.exports = function calc(gd, trace) {
cleanBins(trace, pa, maindata);
- var binspec = calcAllAutoBins(gd, trace, pa, maindata);
-
- // the raw data was prepared in calcAllAutoBins (during the first trace in
- // this group... | 9 |
diff --git a/package.json b/package.json "pretest": "npm run lint",
"test": "node make test-nodejs && node --require esm test | tap-spec",
"test-debug": "node make test-nodejs && node --inspect-brk --require esm test",
- "webtest": "node make test-browser -s -w",
+ "test-browser": "node make test-browser -s -w",
"cover... | 10 |
diff --git a/test/index.js b/test/index.js @@ -56,6 +56,10 @@ if (platform.inNodeJS) {
// pure NodeJS tests (i.e. parts used in electron app)
require('./Storage.test.js')
+ if (process.env.DEBUG) {
+ platform.DEBUG = true
+ }
+
if (process.env.TEST) {
const { test } = require('substance-test')
let harness = test.getHar... | 12 |
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb @@ -42,7 +42,8 @@ class SessionsController < ApplicationController
end
def create
- strategy, username = ldap_user || saml_user || google_user || credentials_user
+ strategy, username = ldap_strategy_username || saml_strategy_u... | 10 |
diff --git a/app/toolbars.js b/app/toolbars.js const specialCharacterGroups = require('./specialCharacters')
-const latexCommands = require('./latexCommands')
+const latexCommandsWithSvg = require('./latexCommandsWithSvg')
module.exports = {
init,
@@ -68,9 +68,9 @@ function initSpecialCharacterToolbar($toolbar, mathEdi... | 4 |
diff --git a/tools/localise.js b/tools/localise.js @@ -48,6 +48,14 @@ var parseDB = function ( text ) {
return db;
};
+var stringifyDB = function ( db ) {
+ return db.map( item =>
+ item.id + '\n' +
+ JSON.stringify( item.string ) + '\n' +
+ '[' + item.description + ']\n'
+ ).join( '\n' );
+};
+
var indexDB = function ... | 0 |
diff --git a/src/CommandHandler.js b/src/CommandHandler.js @@ -61,15 +61,18 @@ class CommandHandler {
* @param {Message} message Message whose command should be checked and handled
*/
handleCommand(message) {
- this.logger.debug(`Handling \`${message.content}\``);
+ const content = message.cleanContent;
+ if (!content.... | 8 |
diff --git a/src/encoded/schemas/organism.json b/src/encoded/schemas/organism.json "title": "Binomial name",
"description": "The genus species for the organism (e.g. 'Mus musculus').",
"type": "string",
+ "default": "",
"pattern": "^(\\S+(\\s|\\S)*\\S+|\\S)$|^$"
},
"taxon_id": {
| 0 |
diff --git a/test/jasmine/tests/waterfall_test.js b/test/jasmine/tests/waterfall_test.js @@ -125,6 +125,25 @@ describe('Waterfall.supplyDefaults', function() {
expect(traceOut.constraintext).toBeUndefined();
});
+ it('should not coerce textinfo when textposition is none', function() {
+ traceIn = {
+ y: [1, 2, 3],
+ te... | 0 |
diff --git a/src/lib/utils/dom.web.js b/src/lib/utils/dom.web.js @@ -11,19 +11,36 @@ export const scriptLoaded = async src => {
throw new Error(`Couldn't find the script with src includes '${src}'`)
}
- let onScriptErrorHandler
- let onScriptLoadedHandler
+ let unsubscribe
+ let unsubscribed = false
const { token, canc... | 0 |
diff --git a/scss/_variables.scss b/scss/_variables.scss @@ -18,10 +18,10 @@ $siimple-default-palette: (
"warning": ("dark": #fab005, "base": #fbc850, "light": #fde09b, "over": #ffffff),
"error": ("dark": #e72618, "base": #ee675d, "light": #f5a8a3, "over": #ffffff),
"dark": ("dark": #34414b, "base": #546778, "light": #... | 10 |
diff --git a/src/encoded/schemas/file.json b/src/encoded/schemas/file.json },
{
"not": {
- "required": ["assembly"],
+ "required": ["assembly", "platform"],
"properties": {
"file_format": {
"enum": ["fastq","sra"]
"required": ["platform"],
"properties": {
"file_format": {
- "enum": ["sra",
- "fastq",
- "csfasta",
+ "en... | 3 |
diff --git a/src/components/select/Select.js b/src/components/select/Select.js @@ -879,6 +879,12 @@ export default class SelectComponent extends Field {
}
setValue(value, flags) {
+ const isNumeric = (val) => {
+ return !isNaN(parseFloat(val)) && isFinite(val);
+ };
+ if (isNumeric(value)) {
+ value = +value;
+ }
flags... | 9 |
diff --git a/packages/app/src/components/Sidebar/PageTree/Item.tsx b/packages/app/src/components/Sidebar/PageTree/Item.tsx @@ -10,6 +10,8 @@ import nodePath from 'path';
import { pathUtils, pagePathUtils } from '@growi/core';
+import loggerFactory from '~/utils/logger';
+
import { toastWarning, toastError, toastSuccess... | 12 |
diff --git a/string_utils.js b/string_utils.js @@ -69,7 +69,7 @@ function getMciFromDataFeedKey(key){
// df:address:feed_name:type:value:strReversedMci
function getValueFromDataFeedKey(key){
var m = key.split('\n');
- if (m.length !== 5)
+ if (m.length !== 6)
throw Error("wrong number of elements in data feed "+key);
v... | 1 |
diff --git a/README.md b/README.md @@ -30,6 +30,6 @@ For example, you can restart the server container with `docker-compose restart s
* [OpenNeuro app](packages/openneuro-app) - React frontend.
* [OpenNeuro server](packages/openneuro-server) - Node.js web backend.
-* [DataLad service](https://OpenNeuroOrg/datalad-servi... | 1 |
diff --git a/stories/index.js b/stories/index.js @@ -70,6 +70,11 @@ const EnhanceWithRowData = connect((state, props) => ({
const EnhancedCustomComponent = EnhanceWithRowData(MakeBlueComponent);
storiesOf('Griddle main', module)
+ .add('with no data', () => {
+ return (
+ <Griddle/>
+ )
+ })
.add('with local', () => {
... | 0 |
diff --git a/packages/idyll-components/src/table.js b/packages/idyll-components/src/table.js @@ -30,7 +30,8 @@ class TableComponent extends React.PureComponent {
return (
<Table
className={`table ${this.props.className || ''}`}
- minRows={(this.props.data || []).length}
+ // minRows={(this.props.data || []).length}
+ s... | 3 |
diff --git a/src/main/s3-endpoints.js b/src/main/s3-endpoints.js @@ -31,7 +31,8 @@ let awsS3Endpoint = {
'ap-southeast-1': 's3-ap-southeast-1.amazonaws.com',
'ap-southeast-2': 's3-ap-southeast-2.amazonaws.com',
'ap-northeast-1': 's3-ap-northeast-1.amazonaws.com',
- 'cn-north-1': 's3.cn-north-1.amazonaws.com.cn'
+ 'cn-n... | 0 |
diff --git a/ui/src/mixins/virtual-scroll.js b/ui/src/mixins/virtual-scroll.js @@ -467,7 +467,7 @@ export default {
if (contentEl) {
const
- children = slice.call(contentEl.children)
+ children = slice.call(contentEl.childNodes)
.filter(el => el.classList.contains('q-virtual-scroll--skip') === false),
childrenLength = ... | 1 |
diff --git a/src/js/services/nanoService.js b/src/js/services/nanoService.js @@ -24,19 +24,34 @@ angular.module('canoeApp.services')
// Both profileService and this service holds onto it
root.wallet = null
- // var host = 'http://localhost:7076' // for local testing against your own rai_wallet or node
- // var host = '... | 7 |
diff --git a/src/reducers/topics/selected/snapshots.js b/src/reducers/topics/selected/snapshots.js @@ -74,6 +74,9 @@ function isLatestVersionRunning(snapshotList, jobList) {
const latestSnapshot = snapshotList[0];
// check Job statuses also
const latestJob = latestJobByDate(jobList);
+ if (latestJob === null) {
+ retur... | 9 |
diff --git a/src/components/ui/PremiumFeatureContainer/styles.js b/src/components/ui/PremiumFeatureContainer/styles.js @@ -5,6 +5,7 @@ export default theme => ({
margin: [0, 0, 20, -20],
padding: 20,
'border-radius': theme.borderRadius,
+ pointerEvents: 'none',
},
titleContainer: {
display: 'flex',
@@ -20,6 +21,7 @@ ex... | 8 |
diff --git a/core/server/api/canary/tags.js b/core/server/api/canary/tags.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 ALLOWED_INCLUDES = ['count.pos... | 14 |
diff --git a/src/core/tools/cookieJarToolFactory.js b/src/core/tools/cookieJarToolFactory.js @@ -22,7 +22,10 @@ export default (
createComponentNamespacedCookieJar,
getTopLevelDomain
) => config => {
- const cookieName = `${ALLOY_COOKIE_NAME}_${config.imsOrgId}`;
+ const cookieName = `${ALLOY_COOKIE_NAME}_${config.imsO... | 14 |
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json {
"name": "cartodb-ui",
- "version": "4.6.12",
+ "version": "4.6.18-11316",
"dependencies": {
"backbone": {
"version": "1.2.3",
}
},
"sshpk": {
- "version": "1.10.2",
+ "version": "1.11.0",
"from": "sshpk@>=1.7.0 <2.0.0",
- "resolved": "https://registry.npmjs.org/s... | 3 |
diff --git a/token-metadata/0x0Ae055097C6d159879521C384F1D2123D1f195e6/metadata.json b/token-metadata/0x0Ae055097C6d159879521C384F1D2123D1f195e6/metadata.json "symbol": "STAKE",
"address": "0x0Ae055097C6d159879521C384F1D2123D1f195e6",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/sparta.go b/sparta.go @@ -739,7 +739,6 @@ func (info *LambdaAWSInfo) lambdaFunctionName() string {
if len(parts) > 1 {
penultimatePart = parts[len(parts)-2]
}
- fmt.Printf("FUNCTION NAME: %s\nPARTS: %#v\n", lambdaFuncName, parts)
intermediateName := fmt.Sprintf("%s-%s", penultimatePart, lastPart)
reClean :... | 2 |
diff --git a/content/en/user-manual/scripting/hot-reloading.md b/content/en/user-manual/scripting/hot-reloading.md @@ -11,13 +11,12 @@ When you are iterating on a complex project it can be frustrating to have to do
Hot-swapping is enabled on a per-script basis and to enable it all you need to do is implement the `swap(... | 7 |
diff --git a/test/server/player/discardcards.spec.js b/test/server/player/discardcards.spec.js @@ -2,7 +2,7 @@ const _ = require('underscore');
const Player = require('../../../server/game/player.js');
-xdescribe('Player', function () {
+describe('Player', function () {
function createCardSpy(num, owner) {
let spy = ja... | 1 |
diff --git a/src/models/Service.js b/src/models/Service.js -import { computed, observable, autorun } from 'mobx';
+import { remote } from 'electron';
+import {
+ computed, observable, autorun,
+} from 'mobx';
import path from 'path';
import normalizeUrl from 'normalize-url';
@@ -209,7 +212,7 @@ export default class Ser... | 14 |
diff --git a/package.json b/package.json ]
},
"devDependencies": {
- "@11ty/eleventy": "2.0.0-beta.2",
+ "@11ty/eleventy": "^2.0.0",
"@11ty/eleventy-activity-feed": "^1.0.9",
"@11ty/eleventy-fetch": "^3.0.0",
"@11ty/eleventy-img": "^3.0.0",
| 4 |
diff --git a/packages/blocks-ui/src/editor-context.js b/packages/blocks-ui/src/editor-context.js @@ -25,7 +25,7 @@ export const useEditor = () => {
export const EditorProvider = ({ children }) => {
const [value, update] = useState({
//activeTab: EDITOR_TAB_INDEX,
- mode: 'viewports'
+ mode: 'canvas'
})
// TODO: Make ta... | 13 |
diff --git a/webpack.config.js b/webpack.config.js @@ -92,7 +92,6 @@ const webpackConfig = ( mode ) => {
'googlesitekit-api': './assets/js/googlesitekit-api.js',
'googlesitekit-data': './assets/js/googlesitekit-data.js',
'googlesitekit-datastore-site': './assets/js/googlesitekit-datastore-site.js',
- 'googlesitekit-mod... | 2 |
diff --git a/MAINTAINERS b/MAINTAINERS @@ -2,3 +2,4 @@ Roman Lysov <r.lysov@semrush.com>
Sergey Kobets <s.kobets@semrush.com>
Mikhail Karachev <m.karachev@semrush.com>
Elena Krasnopolskaia <elena.krasnopolskaia@semrush.com>
+Mikhail Sereniti <mikhail.sereniti@semrush.com>
\ No newline at end of file
| 0 |
diff --git a/src/encoded/visualization.py b/src/encoded/visualization.py @@ -44,6 +44,7 @@ _ASSEMBLY_MAPPER_FULL = {
'common_name': 'human',
'ucsc_assembly': 'hg38',
'ensembl_host': 'www.ensembl.org',
+ 'comment': 'Ensembl works'
},
'GRCh38-minimal': { 'species': 'Homo sapiens', 'assembly_reference': 'GRCh38',
'common_... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,14 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.49.4] -- 2019-08-22
+
+### Fixed
+- Fix access token validation logic for custom mapbox style URLs
+ (regression introduced in 1.49.0... | 3 |
diff --git a/components/widgets/editor/ui/Legend.js b/components/widgets/editor/ui/Legend.js @@ -356,7 +356,9 @@ class Legend extends React.PureComponent {
const currentLayer = datasetSpec.layers.find((l) => {
return moment(l.layerConfig.dateTime, 'YYYY-MM-DD').year() === parseInt(currentValue);
});
+ requestAnimationF... | 7 |
diff --git a/assets/js/modules/analytics/setup.js b/assets/js/modules/analytics/setup.js @@ -787,15 +787,11 @@ class AnalyticsSetup extends Component {
return <ProgressBar/>;
}
- // Accounts will always include Set up New Account option unless existing tag matches property.
- if ( ( 1 >= accounts.length && ! existingTa... | 12 |
diff --git a/token-metadata/0x5dc60C4D5e75D22588FA17fFEB90A63E535efCE0/metadata.json b/token-metadata/0x5dc60C4D5e75D22588FA17fFEB90A63E535efCE0/metadata.json "symbol": "DKA",
"address": "0x5dc60C4D5e75D22588FA17fFEB90A63E535efCE0",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js @@ -44,7 +44,7 @@ function buildLocalCommands(cli, isLocalSite) {
resolveCwd.silent(`gatsby/dist/utils/${command}`)
if (!cmdPath)
return report.panic(
- `There was a problem loading the local ${command} command. Gatsby may not be... | 7 |
diff --git a/docs/Air.md b/docs/Air.md @@ -196,16 +196,28 @@ Request for the flight information.
**See: <a href="../examples/Air/flightInfo1.js">FlightInfo basic example</a>**, **<a href="../examples/Air/flightInfo2.js">FlightInfo multiple items example</a>**
+<a name="getPNRByTicketNumber"></a>
+### .getPNRByTicketNum... | 0 |
diff --git a/generators/server/templates/pom.xml.ejs b/generators/server/templates/pom.xml.ejs <name><%= humanizedBaseName %></name>
<repositories>
- <repository>
- <id>jcenter</id>
- <url>https://jcenter.bintray.com/</url>
- </repository>
<!-- TODO Remove snapshot repositories after final Spring Boot 2 release -->
<re... | 2 |
diff --git a/src/renderer/redux/reducers/navigation.js b/src/renderer/redux/reducers/navigation.js @@ -3,7 +3,7 @@ import * as ACTIONS from 'constants/action_types';
const getCurrentPath = () => {
const { hash } = document.location;
if (hash !== '') return hash.replace(/^#/, '');
- return '/user_history';
+ return '/di... | 12 |
diff --git a/token-metadata/0xcAaa93712BDAc37f736C323C93D4D5fDEFCc31CC/metadata.json b/token-metadata/0xcAaa93712BDAc37f736C323C93D4D5fDEFCc31CC/metadata.json "symbol": "CRD",
"address": "0xcAaa93712BDAc37f736C323C93D4D5fDEFCc31CC",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/app/components/Registration/WalletRegistrationForm.jsx b/app/components/Registration/WalletRegistrationForm.jsx @@ -17,6 +17,7 @@ import LoadingIndicator from "../LoadingIndicator";
import AccountNameInput from "./../Forms/AccountNameInput";
import PasswordInput from "./../Forms/PasswordInput";
import Icon... | 14 |
diff --git a/src/components/Pane/Pane.styles.js b/src/components/Pane/Pane.styles.js @@ -17,6 +17,7 @@ export const MainContainer: ComponentType<*> =
width: 100%;
margin-left: 0 !important;
padding-top: 1px;
+ margin-top: .5rem;
@media screen and (max-width: 900px) {
flex-direction: column;
@@ -42,6 +43,8 @@ export con... | 7 |
diff --git a/src/map/LayerHelper.js b/src/map/LayerHelper.js @@ -30,6 +30,7 @@ import olLayerLayer from 'ol/layer/Layer';
import olLayerVectorTile from 'ol/layer/VectorTile';
import {isEmpty} from 'ol/obj';
import olSourceImageWMS from 'ol/source/ImageWMS';
+import olSourceWMSServerType from 'ol/source/WMSServerType';
... | 12 |
diff --git a/articles/policies/rate-limits.md b/articles/policies/rate-limits.md @@ -69,8 +69,8 @@ The rate limits for this API defer depending on whether your tenant is free or p
The following rate limits apply:
-- For all __free tenants__, usage of the Management API is restricted to 2 requests per second (and bursts... | 0 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -692,6 +692,8 @@ By default, the default article for a version is the first article in the subdir
## Limitations
+### No sub-directories
+
This versioning system has one major limitation: all articles for each version must exist in the same directory. For example, this ... | 0 |
diff --git a/content/questions/object-keys-object-values/index.md b/content/questions/object-keys-object-values/index.md @@ -29,4 +29,4 @@ console.log(Object.keys(obj) == Object.values(obj));
<!-- explanation -->
-In this case, `Object.keys` is `[1, 2, 3]` and `Object.values` is `[1, 2, 3]`... _but_ they are both diffe... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -44741,8 +44741,12 @@ var $$IMU_EXPORT$$;
trigger_popup();
}
+ var close_behavior = get_close_behavior();
+
+ if (close_behavior === "all" || (close_behavior === "any" && trigger_complete(event))) {
can_close_popup[0] = false;
}
+ }
if (popups.length > 0 && popup_... | 1 |
diff --git a/sockets/sockets.js b/sockets/sockets.js @@ -94,11 +94,11 @@ function saveGameToDb(roomToSave) {
deepCopyRoom.allSockets = undefined;
deepCopyRoom.socketsOfPlayers = undefined;
- // for (i = 0; i < deepCopyRoom.playersInGame.length; i++) {
- // deepCopyRoom.playersInGame[i].request = {
- // user: {},
- // }... | 1 |
diff --git a/source/Renderer/shaders/pbr.frag b/source/Renderer/shaders/pbr.frag @@ -257,9 +257,6 @@ MaterialInfo getSheenInfo(MaterialInfo info)
#ifdef MATERIAL_SPECULAR
MaterialInfo getSpecularInfo(MaterialInfo info)
{
- info.specularColor = u_SpecularColorFactor;
- info.specular = u_SpecularFactor2;
-
vec4 specularT... | 12 |
diff --git a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js @@ -72,7 +72,7 @@ function AnchorRenderer({tnode, key, style}) {
// An auth token is needed to download Expensify chat attachments
const isAttachment = Boolean(htmlAttribs['data-expensi... | 4 |
diff --git a/unlock-app/src/components/helpers/toast.helper.ts b/unlock-app/src/components/helpers/toast.helper.ts @@ -4,7 +4,7 @@ if in the future we need to change toast functionality/library
we can do it from here without change everything from around the codebase
*/
-import { Renderable, toast, Toast } from 'react-... | 9 |
diff --git a/token-metadata/0x05Fb86775Fd5c16290f1E838F5caaa7342bD9a63/metadata.json b/token-metadata/0x05Fb86775Fd5c16290f1E838F5caaa7342bD9a63/metadata.json "symbol": "HAI",
"address": "0x05Fb86775Fd5c16290f1E838F5caaa7342bD9a63",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/packages/insight-previous/src/pages/home/home.ts b/packages/insight-previous/src/pages/home/home.ts @@ -25,11 +25,22 @@ export class HomePage {
private priceProvider: PriceProvider,
public events: Events
) {
- this.chain = navParams.get('chain') ||
+ const chainParam = navParams.get('chain');
+ const netwo... | 1 |
diff --git a/src/ActionModal/components/ActionModal.vue b/src/ActionModal/components/ActionModal.vue @@ -600,6 +600,7 @@ export default {
},
async checkFeatureAvailable() {
// TODO remove once Hasura is available in e2e tests
+ /* istanbuld ignore:next */
if (config.e2e) {
this.featureAvailable = true
return
| 8 |
diff --git a/components/mapbox/ban-map/popups.js b/components/mapbox/ban-map/popups.js @@ -20,7 +20,11 @@ function popupNumero({numero, suffixe, lieuDitComplementNom, nomVoie, nomCommune
<div className='infos-container'>
<div className='separator' />
<div className='infos'>
+ {nom ? (
<div>Nom : <b style={{color: nom.c... | 0 |
diff --git a/src/react/projects/spark-core-react/src/SprkDropdown/SprkDropdown.js b/src/react/projects/spark-core-react/src/SprkDropdown/SprkDropdown.js @@ -21,7 +21,7 @@ class SprkDropdown extends Component {
this.closeDropdown = this.closeDropdown.bind(this);
this.selectChoice = this.selectChoice.bind(this);
this.set... | 3 |
diff --git a/articles/api/authentication/_login.md b/articles/api/authentication/_login.md @@ -209,10 +209,6 @@ GET https://${account.namespace}/authorize?
</script>
```
-::: note
-Note that in order to use `loginWithCredentials`, auth0.js needs to make cross-origin calls. Check the [Cross-Origin Authentication](/cross... | 2 |
diff --git a/test/jasmine/tests/parcats_test.js b/test/jasmine/tests/parcats_test.js @@ -1330,9 +1330,109 @@ describe('Click events', function() {
});
});
+describe('Click events with hovermode color', function() {
+
+ // Variable declarations
+ // ---------------------
+ // ### Trace level ###
+ var gd,
+ mock;
+
+ //... | 0 |
diff --git a/server/game/cards/characters/06/maesterofsunspear.js b/server/game/cards/characters/06/maesterofsunspear.js @@ -11,7 +11,7 @@ class MaesterOfSunspear extends DrawCard {
cardCondition: card => card.location === 'play area' && card.getType() === 'attachment'
},
handler: context => {
- context.target.owner.re... | 1 |
diff --git a/learn/what_is_meilisearch/comparison_to_alternatives.md b/learn/what_is_meilisearch/comparison_to_alternatives.md @@ -16,7 +16,7 @@ Please be advised that many of the search products described below are constantl
## Comparisons
-### MeiliSearch vs elasticsearch
+### MeiliSearch vs Elasticsearch
Elasticsear... | 1 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/search.js b/packages/node_modules/@node-red/editor-client/src/js/ui/search.js @@ -83,7 +83,7 @@ RED.search = (function() {
// flagName:XYZ
var regEx = new RegExp("(?:^| )"+flagName+":([^ ]+)(?: |$)");
var m
- while(m = regEx.exec(val)) {
+ while(!!(m ... | 1 |
diff --git a/src/helper.js b/src/helper.js @@ -622,7 +622,7 @@ module.exports = {
return hypixelPlayer;
},
- getProfile: async (db, paramPlayer, paramProfile, options = {}) => {
+ getProfile: async (db, paramPlayer, paramProfile, options = { cacheOnly: false }) => {
if(paramPlayer.length != 32){
try{
const { uuid } = a... | 12 |
diff --git a/src/embeds/UserInfoEmbed.js b/src/embeds/UserInfoEmbed.js @@ -39,8 +39,8 @@ class UserInfoEmbed extends BaseEmbed {
};
if (member) {
- this.description = member.presence.activities && member.presence.activities[0]
- ? (member.presence.activities[0].state || member.presence.activities[0].name)
+ this.descri... | 1 |
diff --git a/.travis.yml b/.travis.yml @@ -7,6 +7,7 @@ cache:
matrix:
fast_finish: true
before_install:
+ - export GIT_SSL_NO_VERIFY=1
- echo -ne '\n' | sudo add-apt-repository ppa:ethereum/ethereum
- sudo apt-get -y update
- sudo apt-get -y install solc
| 8 |
diff --git a/packages/server/routes/files.js b/packages/server/routes/files.js @@ -150,7 +150,7 @@ router.get(
if (role <= file.min_role_read || (user_id && user_id === file.user_id)) {
res.type(file.mimetype);
const cacheability = file.min_role_read === 10 ? "public" : "private";
- res.set("Cache-Control", `${cacheabi... | 12 |
diff --git a/test/hdkeys.js b/test/hdkeys.js @@ -281,7 +281,7 @@ describe('BIP32 compliance', function() {
var chainCodeBuffer = new Buffer('39816057bba9d952fe87fe998b7fd4d690a1bb58c2ff69141469e4d1dffb4b91', 'hex');
var unstubbed = bitcore.crypto.BN.prototype.toBuffer;
var count = 0;
- var stub = sandbox.stub(bitcore.c... | 3 |
diff --git a/Source/WorkersES6/decodeDraco.js b/Source/WorkersES6/decodeDraco.js @@ -272,30 +272,6 @@ function decodePointCloud(parameters) {
return result;
}
-function findQuantizationTransform(array, numComponents) {
- var min = [];
- var max = [];
- var i, j;
- for (i = 0; i < numComponents; ++i) {
- min.push(array[... | 13 |
diff --git a/source/dom/Element.js b/source/dom/Element.js @@ -304,6 +304,22 @@ const create = function ( tag, props, children ) {
return el;
};
+/**
+ Function: O.Element.getStyle
+
+ Gets the value of a CSS style on the element.
+
+ Parameters:
+ el - {Element} The element to get the style from.
+ style - {String} Th... | 0 |
diff --git a/gulpfile.js b/gulpfile.js @@ -17,6 +17,12 @@ gulp.task('clean', function () {
gulp.task('copy', function () {
gulp.src('./docs/index.html')
.pipe(gulp.dest('./build'));
+ gulp.src('./docs/docs.css')
+ .pipe(gulp.dest('./build'));
+ gulp.src('./docs/slick.css')
+ .pipe(gulp.dest('./build'));
+ gulp.src('./d... | 0 |
diff --git a/server/game/cards/08.1-TAK/QueensMen.js b/server/game/cards/08.1-TAK/QueensMen.js @@ -6,7 +6,7 @@ class QueensMen extends DrawCard {
when: {
onCardEntersPlay: event => event.card === this && event.playingType === 'marshal'
},
- chooseOpponent: opponent => opponent.hand.size() > 1,
+ chooseOpponent: opponen... | 11 |
diff --git a/module/actor.js b/module/actor.js @@ -1088,7 +1088,7 @@ export class GurpsActor extends Actor {
// --- Functions to handle events on actor ---
handleDamageDrop(damageData) {
- if (game.user.isGM || game.settings.get(settings.SYSTEM_NAME, settings.SETTING_ONLY_GMS_OPEN_ADD))
+ if (game.user.isGM || !game.se... | 1 |
diff --git a/sirepo/runner/container.py b/sirepo/runner/container.py @@ -110,14 +110,14 @@ class JobTracker:
with _catch_and_log_errors(
Exception, 'error waiting for container {}', jid
):
- pkdp(await _container_wait(container))
+ pkdc(await _container_wait(container))
finally:
self.jid_to_status[jid] = JobStatus.FINI... | 14 |
diff --git a/tests/phpunit/integration/Modules/Analytics/Advanced_Tracking/Script_InjectorTest.php b/tests/phpunit/integration/Modules/Analytics/Advanced_Tracking/Script_InjectorTest.php @@ -64,7 +64,7 @@ class Script_InjectorTest extends TestCase {
$output = ob_get_clean();
$expected_json = '[{"action":"test_event_wit... | 1 |
diff --git a/server/app.js b/server/app.js /* This module imports */
-require('dotenv/config')
+import 'dotenv/config'
import logger from './logger'
-const globals = require('./globals')
-const sessions = require('./sessions')
-const express = require('express')
-const graphqlHTTP = require('express-graphql')
-const sc... | 14 |
diff --git a/src/views/sockets/components/details.js b/src/views/sockets/components/details.js @@ -184,10 +184,15 @@ function buildDocumentation ({
result += '|----|----|-----------|-------|\n'
Object.keys(key.parameters).forEach(parameter => {
- const {type, example, description} = key.parameters[parameter]
+ let {typ... | 1 |
diff --git a/server/game/cards/01-Core/DuelistTraining.js b/server/game/cards/01-Core/DuelistTraining.js @@ -24,13 +24,6 @@ class DuelistTraining extends DrawCard {
});
}
- resolutionHandler(context, winner, loser) {
- if(loser) {
- this.game.addMessage('{0} wins the duel, and bows {1}', winner, loser);
- this.game.app... | 2 |
diff --git a/docs/install.md b/docs/install.md @@ -157,6 +157,10 @@ You can now download your deployment ZIP using `scp` and upload it to Lambda. Be
* [gulp-responsive](https://www.npmjs.com/package/gulp-responsive)
* [grunt-sharp](https://www.npmjs.com/package/grunt-sharp)
+### Coding tools
+
+* [Sharp TypeScript Type... | 0 |
diff --git a/src/api/v4/filter/category.js b/src/api/v4/filter/category.js const SQLBase = require('./base-sql');
const CATEGORY_COMPARISON_OPERATORS = {
- in: { parameters: [{ name: 'in', allowedTypes: ['Array', 'String'] }] },
- notIn: { parameters: [{ name: 'notIn', allowedTypes: ['Array', 'String'] }] },
+ in: { pa... | 11 |
diff --git a/new-client/src/components/App.js b/new-client/src/components/App.js @@ -410,8 +410,8 @@ class App extends React.PureComponent {
this.globalObserver.publish("analytics.trackPageView");
this.globalObserver.publish("analytics.trackEvent", {
- eventName: "MapLoad",
- mapName: this.props.config.activeMap,
+ eve... | 10 |
diff --git a/docs/api/presenter.md b/docs/api/presenter.md @@ -198,7 +198,7 @@ class PlanetsList extends Presenter {
### `update(repo, nextProps, nextState)`
-Called when a presenter gets new props. This is useful for secondary
+Called when a presenter _gets new props_. This is useful for secondary
data fetching and ot... | 7 |
diff --git a/test/server/cards/02.5-FHNS/AFateWorseThanDeath.spec.js b/test/server/cards/02.5-FHNS/AFateWorseThanDeath.spec.js @@ -61,7 +61,7 @@ describe('A Fate Worse Than Death', function() {
this.player1.clickCard('a-fate-worse-than-death');
this.player1.clickCard(this.witchHunter);
- expect(this.player2).toHaveProm... | 3 |
diff --git a/scripts/interaction.js b/scripts/interaction.js @@ -1107,10 +1107,6 @@ H5P.InteractiveVideoInteraction = (function ($, EventDispatcher) {
classes = determineClasses();
if (library !== 'H5P.Nil') {
action.params = action.params || {};
- action.params.overrideSettings = action.params.overrideSettings || {};
... | 2 |
diff --git a/package.json b/package.json "@netlify/open-api": "^0.1.1",
"@oclif/command": "^1",
"@oclif/errors": "^1.1.2",
- "@oclif/plugin-help": "^2",
"@oclif/plugin-not-found": "^1.1.0",
"ascii-table": "0.0.9",
"chalk": "^2.4.1",
"bin": "netlify-cli",
"commands": "./src/commands",
"plugins": [
- "@oclif/plugin-help"... | 2 |
diff --git a/engine.js b/engine.js @@ -103,7 +103,7 @@ Engine.prototype.getVersion = function(callback) {
callback(null, this.version);
}
}.bind(this))
- });
+ }.bind(this));
}
Engine.prototype.getInfo = function(callback) {
@@ -130,7 +130,6 @@ Engine.prototype.start = function(callback) {
},
function check_engine_conf... | 7 |
diff --git a/lod.js b/lod.js @@ -42,6 +42,8 @@ const _getHashMinLod = (min, lod) => {
return result;
};
const _getHashChunk = chunk => _getHashMinLod(chunk.min, chunk.lod);
+const _getHashMinLodArray = (min, lodArray) => min.x + ',' + min.y + ',' + min.z + ':' + lodArray.join(',');
+const _getHashChunkLodArray = chunk ... | 0 |
diff --git a/src/lib/util.js b/src/lib/util.js @@ -1575,6 +1575,19 @@ const util = {
t.parentNode.insertBefore(tp, t);
this.removeItem(t);
}
+
+ // table cells without format
+ const withoutFormatCells = this.getListChildren(documentFragment, function (current) {
+ return this.isCell(current) && !this.isFormatElement(c... | 3 |
diff --git a/util.js b/util.js @@ -104,6 +104,8 @@ const _makeAtlas = (size, images) => {
const image = images[i];
if (image) {
+ let rect;
+ if (!image.rigid) {
const w = image.width * scale;
const h = image.height * scale;
const resizeCanvas = document.createElement('canvas');
@@ -112,7 +114,10 @@ const _makeAtlas = ... | 0 |
diff --git a/js/core/bisweb_userpreferences.js b/js/core/bisweb_userpreferences.js @@ -423,7 +423,12 @@ expobj.initialize=function(dbase) {
if (genericio.getmode() !== 'browser') {
initializeCommandLine();
} else {
+ try {
+ // Web worker gives an error
Window.biswebpref=expobj;
+ } catch (e) {
+ console.log("++++ In w... | 2 |
diff --git a/accessibility-checker-engine/src/v4/rules/aria_attribute_redundant.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_redundant.ts @@ -45,7 +45,7 @@ export let aria_attribute_redundant: Rule = {
run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | Ru... | 3 |
diff --git a/unlock-app/src/services/storageService.ts b/unlock-app/src/services/storageService.ts @@ -649,7 +649,7 @@ export class StorageService extends EventEmitter {
}
}
- async getEndpoint(url: string, options: RequestInit = {}, withAuth: boolean) {
+ async getEndpoint(url: string, options: RequestInit = {}, withA... | 12 |
diff --git a/articles/multifactor-authentication/send-phone-message-hook-amazon-sns.md b/articles/multifactor-authentication/send-phone-message-hook-amazon-sns.md @@ -59,9 +59,9 @@ var AWS = require("aws-sdk");
@param {function} cb - function (error, response)
*/
module.exports = function(recipient, text, context, cb) ... | 7 |
diff --git a/readme.md b/readme.md @@ -137,6 +137,35 @@ It can be used in any context where you have an immutable data tree that you wan
_Note: it might be tempting after using producers a while, to just put `produce` in your root reducer, and then past the draft along to each reducer and work on that. Don't do that. I... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.