code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -10,7 +10,7 @@ work is not in vain.
Most of the time, if webpack is not working correctly for you, it is a simple configuration issue.
If you are still having difficulty after looking over your configuration carefully, please post
-a question to [StackOverflow with the ... | 14 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -114,6 +114,7 @@ jobs:
echo "APPCENTER_NAME=GoodDollar/GoodDollar-Android-development" >> $GITHUB_ENV
echo "APPCENTER_TOKEN=${{ secrets.APPCENTER_ANDROID_DEV }}" >> $GITHUB_ENV
echo "APPCENTER_CODEPUSH_TOKEN=${{ secrets.APPCENTER_CODEPUSH_DEV... | 0 |
diff --git a/rig.js b/rig.js @@ -6,7 +6,7 @@ import {makePromise, /*WaitQueue, */downloadFile} from './util.js';
import {renderer, scene, appManager} from './app-object.js';
import runtime from './runtime.js';
import Avatar from './avatars/avatars.js';
-import {FBXLoader} from './FBXLoader.js';
+// import {FBXLoader} f... | 2 |
diff --git a/source/views/menu/MenuOptionView.js b/source/views/menu/MenuOptionView.js @@ -46,7 +46,10 @@ const MenuOptionView = Class({
}
},
- mousemove: function () {
+ mousemove: function (event) {
+ if (event.type === 'pointermove' && event.pointerType !== 'mouse') {
+ return;
+ }
if (!this.get('isFocused') && !thi... | 8 |
diff --git a/hp-manager.js b/hp-manager.js @@ -135,6 +135,12 @@ const makeHitTracker = ({
scene.add(damageMeshApp);
}
+ {
+ const soundFiles = sounds.getSoundFiles();
+ const audioSpec = soundFiles.enemyCut[Math.floor(Math.random() * soundFiles.enemyCut.length)];
+ sounds.playSound(audioSpec);
+ }
+
hitTracker.dispatch... | 0 |
diff --git a/src/geo/polygon.js b/src/geo/polygon.js * @returns {Point} center of a polygon assuming it's a circle
*/
PRO.circleCenter = function() {
- let points = this.points,
- length = points.length,
- incr = Math.floor(length / 3),
- A = points[0],
- B = points[incr],
- C = points[incr * 2],
- yDelta_a = B.y - A.y... | 14 |
diff --git a/test/evaluation/falseNegative.js b/test/evaluation/falseNegative.js @@ -51,11 +51,11 @@ async function main() {
}
`({
text,
- }),
- ).then((data) => {
+ }).then((data) => {
progress.tick();
return data;
- }));
+ }),
+ ));
let invalidCount = 0;
allResults.forEach(({ data }, i) => {
| 1 |
diff --git a/.travis.yml b/.travis.yml @@ -24,7 +24,7 @@ env:
- TEST_SUITE=desktop
script:
- - xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs:$TEST_SUITE --expanded --verbose
+ - xvfb-run -s '-screen 0 1024x768x24' wct --env saucelabs:$TEST_SUITE --expanded --verbose
#- if [[ "$TRAVIS_EVENT_TYPE" != "... | 14 |
diff --git a/tools/deployer/DeployParsing/DeployParser.py b/tools/deployer/DeployParsing/DeployParser.py @@ -9,13 +9,13 @@ CHAIN_ID = {
'kovan': '42',
}
CONTRACT_DIR = {
- 'Types': '',
- 'DelegateFactory': '',
- 'Indexer': '',
- 'Swap': '',
+ 'Types': '../../../source/types/deploys.json',
+ 'DelegateFactory': '../../..... | 3 |
diff --git a/assets/js/modules/analytics-4/datastore/report.js b/assets/js/modules/analytics-4/datastore/report.js @@ -139,10 +139,7 @@ const baseSelectors = {
* @param {Object} options Options for generating the report.
* @param {string} options.startDate Required, unless dateRange is provided. Start date to query rep... | 2 |
diff --git a/webpack.config.js b/webpack.config.js @@ -47,7 +47,10 @@ module.exports = {
root: 'Hammer',
commonjs: 'hammerjs',
commonjs2: 'hammerjs',
- amd: 'hammerjs'
+ amd: 'hammerjs',
+ // Since GeoJS's libraryTarget is "umd", defining this (undocumented) external library type
+ // will allow Webpack to create a bet... | 7 |
diff --git a/theme/src/components/homeSlider.js b/theme/src/components/homeSlider.js @@ -23,7 +23,7 @@ const renderItem = item => (
const HomeSlider = ({ images }) => {
if (images && images.length > 0) {
const items = images.map(item => ({
- original: item.url,
+ original: item.image,
title: item.title,
description: it... | 1 |
diff --git a/src/components/signup/SmsForm.js b/src/components/signup/SmsForm.js @@ -81,7 +81,11 @@ class SmsForm extends React.Component<Props, State> {
await this.verifyOTP(otpValue)
this.handleSubmit()
} catch (e) {
+ if (e.ok === 0) {
+ log.warn('Verify otp failed', e.message, e)
+ } else {
log.error('Verify otp fa... | 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -85,6 +85,8 @@ Refer to the [reportTestDone method description](https://devexpress.github.io/te
### Bug Fixes
* HTML5 drag events are no longer simulated if `event.preventDefault` is called for the `mousedown` event ([#2529](https://github.com/DevExpress/testcafe/issues/2529)... | 0 |
diff --git a/assets/js/components/legacy-notifications/notification-counter.js b/assets/js/components/legacy-notifications/notification-counter.js @@ -26,7 +26,6 @@ import classnames from 'classnames';
*/
import { Component, createPortal } from '@wordpress/element';
import { _n, sprintf } from '@wordpress/i18n';
-impor... | 2 |
diff --git a/source/gltf/accessor.js b/source/gltf/accessor.js @@ -127,19 +127,10 @@ class gltfAccessor extends GltfObject
return this.filteredView;
}
- if (this.bufferView !== undefined)
- {
- const bufferView = gltf.bufferViews[this.bufferView];
- const buffer = gltf.buffers[bufferView.buffer];
- const byteOffset = t... | 9 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -33,4 +33,5 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [snowpack-react-ssr](https://github.com/matthoffner/snowpack-react-ssr) (React + Server Side Rendering)
- [snowpack-app-template-preact-... | 0 |
diff --git a/src/encoded/tests/datafixtures.py b/src/encoded/tests/datafixtures.py @@ -228,6 +228,7 @@ def experiment(testapp, lab, award):
}
return testapp.post_json('/experiment', item).json['@graph'][0]
+
@pytest.fixture
def base_experiment(testapp, lab, award):
item = {
@@ -238,6 +239,7 @@ def base_experiment(testa... | 1 |
diff --git a/lib/assets/javascripts/cartodb/common/dialogs/create/listing/imports_view.js b/lib/assets/javascripts/cartodb/common/dialogs/create/listing/imports_view.js @@ -197,7 +197,7 @@ module.exports = cdb.core.View.extend({
return true;
},
- _checkBigQueryImport: function () {
+ _checkBigQueryImport: function (imp... | 1 |
diff --git a/src/library/managers/PlayerManager.js b/src/library/managers/PlayerManager.js @@ -25,6 +25,7 @@ Does not include Ships and Gears which are managed by other Managers
statistics: {},
maxResource: 350000,
maxConsumable: 3000,
+ maxUseitem: 9999,
maxCoin: 350000,
init :function(){
@@ -473,9 +474,11 @@ Does not... | 8 |
diff --git a/src/content/en/ilt/pwa/lab-scripting-the-service-worker.md b/src/content/en/ilt/pwa/lab-scripting-the-service-worker.md @@ -321,7 +321,7 @@ navigator.serviceWorker.register('/service-worker.js', {
In the above example the scope of the service worker is set to `/kitten/`. The service worker intercepts reque... | 1 |
diff --git a/audio-manager.js b/audio-manager.js @@ -3,6 +3,9 @@ import WSRTC from 'wsrtc/wsrtc.js';
const loadPromise = (async () => {
const audioContext = WSRTC.getAudioContext();
+ audioContext.gain = audioContext.createGain();
+ audioContext.gain.connect(audioContext.destination);
+
Avatar.setAudioContext(audioCont... | 0 |
diff --git a/app/src/scripts/dataset/tools/index.js b/app/src/scripts/dataset/tools/index.js @@ -105,7 +105,12 @@ class Tools extends Reflux.Component {
{
tooltip: 'Unpublish Dataset',
icon: 'fa-globe icon-ban',
- action: actions.publish.bind(this, dataset._id, false),
+ action: actions.publish.bind(
+ this,
+ dataset.... | 1 |
diff --git a/sirepo/pkcli/db.py b/sirepo/pkcli/db.py @@ -12,8 +12,25 @@ def upgrade():
from pykern import pkio
from sirepo import simulation_db
from sirepo import server
+ import re
+
+ def _inc(m):
+ return m.group(1) + str(int(m.group(2)) + 1)
server.init()
- to_rename = []
- for d in pkio.sorted_glob(simulation_db.u... | 10 |
diff --git a/vite.config.js b/vite.config.js import { defineConfig } from 'vite'
import reactRefresh from '@vitejs/plugin-react-refresh'
-import webaversePlugin from './rollup-webaverse-plugin.js'
+import rollupPlugin from 'metaversefile/plugins/rollup.js'
// https://vitejs.dev/config/
export default defineConfig({
plu... | 4 |
diff --git a/Projects/Network/SA/Modules/AppBootstrapingProcess.js b/Projects/Network/SA/Modules/AppBootstrapingProcess.js @@ -315,7 +315,7 @@ exports.newNetworkModulesAppBootstrapingProcess = function newNetworkModulesAppB
store that node as our P2P Network Client Identity.
*/
if (SA.secrets.signingAccountSecrets.map.... | 7 |
diff --git a/packages/@uppy/react/src/Dashboard.d.ts b/packages/@uppy/react/src/Dashboard.d.ts @@ -15,6 +15,7 @@ export interface DashboardProps {
height?: number;
showProgressDetails?: boolean;
showLinkToFileUploadResult?: boolean;
+ showSelectedFiles?: boolean;
hideUploadButton?: boolean;
hideProgressAfterFinish?: bo... | 0 |
diff --git a/apps/img/views.py b/apps/img/views.py @@ -71,7 +71,7 @@ def serve_doc(req, id_source, annotated=False):
# filename is part of the response headers and that HTTP response headers can only contain ascii characters.
filename = ""
try:
- filename = M.Source.objects.get(pk=id_source).title.partition(".pdf")[0].... | 1 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/crossword.html b/modules/xerte/parent_templates/Nottingham/models_html5/crossword.html }
});
- $('td').click(function() {
-
+ $('#crossword-table td').click(function() {
active = $(this).closest('table tbody').find('td').index(this);
if($('#crossword-t... | 1 |
diff --git a/client/src/components/views/CommInternal/core.js b/client/src/components/views/CommInternal/core.js @@ -115,6 +115,9 @@ class InternalCommCore extends Component {
>
{internalComm.outgoing}
{internalComm.state === "connected" ? ` - Connected` : ""}
+ {internalComm.incoming &&
+ !internalComm.outgoing &&
+ `... | 1 |
diff --git a/packages/siimple-css/scss/elements/rule.scss b/packages/siimple-css/scss/elements/rule.scss background-color: siimple-default-color("light");
padding: 0px;
margin-top: 15px;
- margin-bottm: 15px;
+ margin-bottom: 15px;
border: 0px;
//Rule first and last child
&:first-child {
| 1 |
diff --git a/src/traces/surface/convert.js b/src/traces/surface/convert.js @@ -241,7 +241,7 @@ proto.calcXnums = function(xlen) {
if(nums[i - 1] === 0) {
nums[i - 1] = 1;
} else {
- nums[i - 1] = Math.round(totalDist);
+ nums[i - 1] = Math.round(totalDist / nums[i - 1]);
}
}
@@ -273,7 +273,7 @@ proto.calcYnums = functi... | 1 |
diff --git a/app/templates/my-sessions/view.hbs b/app/templates/my-sessions/view.hbs {{/if}}
{{/link-to}}
{{#each model.speakers as |speaker|}}
+ {{#if (eq speaker.email authManager.currentUser.email)}}
{{#link-to 'events.view.speakers.edit' model.event.id speaker.id}}
<button class="ui blue button {{if device.isMobile... | 7 |
diff --git a/aleph/index/collections.py b/aleph/index/collections.py @@ -173,7 +173,7 @@ def get_collection_things(collection_id):
things = {}
for schema, count in schemata.get('values', {}).items():
schema = model.get(schema)
- if schema.is_a(Entity.THING):
+ if schema is not None and schema.is_a(Entity.THING):
things... | 9 |
diff --git a/scripts/docs.js b/scripts/docs.js @@ -120,8 +120,8 @@ async function generateToc(docs) {
async function insertSourceLink(mdFile, srcFile) {
const link = BASE_SRC_URL + srcFile
- console.log('insert line', { link, mdFile })
- // return await execPromise(`echo "## Source\n[${link}](${link})\n" >> ${mdFile}`)... | 0 |
diff --git a/docs/middlewares.md b/docs/middlewares.md ## Available middlewares
- [cors](#cors)
+ - [doNotWaitForEmptyEventLoop](#donotwaitforemptyeventloop)
- [httpErrorHandler](#httperrorhandler)
- [jsonBodyParser](#jsonbodyparser)
- [s3KeyNormalizer](#s3keynormalizer)
- [validator](#validator)
- [urlencodeBodyParser... | 5 |
diff --git a/docs/pages/plugins-manifest.md b/docs/pages/plugins-manifest.md @@ -113,7 +113,14 @@ function selectAll() {
##### Shortcut Values
-When setting the shortcut for a command, you can use any combination of the following keys, plus any regular character. Keep in mind that some characters may require users to p... | 7 |
diff --git a/test/prop/2.arbitrary.js b/test/prop/2.arbitrary.js @@ -39,8 +39,8 @@ property('swap(m) = bichain(resolve)(reject)(m)', anyFuture, function (m){
return eq(swap(m))(bichain(resolve)(reject)(m));
});
-property('reject(x) = swap(resolve(x))', any, function (x){
- return eq(reject(x))(swap(resolve(x)));
+prope... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -21230,7 +21230,13 @@ var $$IMU_EXPORT$$;
bad_if: [{
headers: {
"content-length": "281567",
- "last-modified": "Tue, 19 Nov 2019 03:54:27 GMT"
+ "last-modified": function(value) {
+ if (/^Tue, 19 Nov 2019/i.test(value)) {
+ return true;
+ }
+
+ return false;
+ }
}... | 7 |
diff --git a/src/connectors/youtube.js b/src/connectors/youtube.js @@ -73,7 +73,10 @@ Connector.getTrackInfo = () => {
Connector.getTimeInfo = () => {
const videoElement = document.querySelector(videoSelector);
if (videoElement && !areChaptersAvailable()) {
- const { currentTime, duration } = videoElement;
+ let { curr... | 7 |
diff --git a/src/components/play-mode/infobox/Infobox.jsx b/src/components/play-mode/infobox/Infobox.jsx @@ -85,6 +85,20 @@ export const Infobox = () => {
</div>
</> : null}
</div>
+ <div className={ styles.hints }>
+ <div className={ styles.hint }>
+ <div className={ styles.key }>E</div>
+ <div className={ styles.labe... | 0 |
diff --git a/Specs/Scene/Cesium3DTilesetSpec.js b/Specs/Scene/Cesium3DTilesetSpec.js -import { Cartesian2 } from "../../Source/Cesium.js";
+import { Cartesian2, Cesium3DTileBatchTable } from "../../Source/Cesium.js";
import { Cartesian3 } from "../../Source/Cesium.js";
import { Cartographic } from "../../Source/Cesium.... | 3 |
diff --git a/src/renderer/component/viewers/threeViewer/index.jsx b/src/renderer/component/viewers/threeViewer/index.jsx @@ -210,7 +210,7 @@ class ThreeViewer extends React.PureComponent<Props, State> {
config.color = this.materialColor;
// Reset material
this.material.color.set(config.color);
- this.material.flatShadi... | 13 |
diff --git a/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js b/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js @@ -163,7 +163,9 @@ TokensStrategy.prototype.authenticate = function(req) {
authenticateUserToken(req).then(user => {
this.success(user,{scope:user.permissions});
}).catch(e... | 9 |
diff --git a/articles/tutorials/sending-events-to-splunk.md b/articles/tutorials/sending-events-to-splunk.md @@ -23,6 +23,10 @@ When enabled, this rule will start sending events that will show up on Splunk's

+::: panel Securely Storing Credentials
+This example... | 0 |
diff --git a/edit.js b/edit.js @@ -270,8 +270,8 @@ const highlightMesh = makeHighlightMesh();
highlightMesh.visible = false;
scene.add(highlightMesh);
const anchorMeshes = [];
-const rayMesh = makeRayMesh();
-scene.add(rayMesh);
+/* const rayMesh = makeRayMesh();
+scene.add(rayMesh); */
const q = parseQuery(location.se... | 2 |
diff --git a/physics-manager.js b/physics-manager.js @@ -193,6 +193,7 @@ physicsManager.addCookedGeometry = (buffer, position, quaternion, scale) => {
physicsMesh.visible = false
physicsObject.add(physicsMesh)
physicsObject.physicsMesh = physicsMesh
+ physicsMesh.updateMatrixWorld()
return physicsObject
}
@@ -252,6 +25... | 0 |
diff --git a/src/components/wallet/Wallet.js b/src/components/wallet/Wallet.js @@ -194,13 +194,12 @@ export function Wallet() {
<Translate id='button.receive'/>
</FormButton>
</div>
+ {sortedTokens?.length ?
+ <>
<div className='sub-title tokens'>
<span><Translate id='wallet.tokens' /></span>
<span><Translate id='walle... | 1 |
diff --git a/packages/mjml-navbar/src/Navbar.js b/packages/mjml-navbar/src/Navbar.js @@ -22,6 +22,11 @@ export default class MjNavbar extends BodyComponent {
'ico-padding-top': 'unit(px,%)',
'ico-padding-right': 'unit(px,%)',
'ico-padding-bottom': 'unit(px,%)',
+ 'padding': 'unit(px,%){1,4}',
+ 'padding-left': 'unit(px... | 11 |
diff --git a/packages/ember-application/lib/initializers/dom-templates.js b/packages/ember-application/lib/initializers/dom-templates.js @@ -6,7 +6,7 @@ import {
import { environment } from 'ember-environment';
import Application from '../system/application';
-let bootstrap = () => { };
+let bootstrap = function() { };... | 13 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -130,12 +130,12 @@ jobs:
- name: Build Android Release
env:
RELEASE_ANDROID_PASSPHRASE: ${{ secrets.RELEASE_ANDROID_PASSPHRASE }}
- ENVFILE: '../.env.${{ env.ENV }}'
+ ENVFILE: '.env.${{ env.ENV }}'
BUILD_NUMBER: ${{ github.run_number }}
run:... | 13 |
diff --git a/src/js/controllers/buy-bitcoin/purchase-history.controller.js b/src/js/controllers/buy-bitcoin/purchase-history.controller.js .module('bitcoincom.controllers')
.controller('buyBitcoinPurchaseHistoryController', purchaseHistoryController);
- function purchaseHistoryController($scope) {
+ function purchaseHi... | 9 |
diff --git a/index.js b/index.js @@ -50,10 +50,10 @@ const middy = (handler) => {
const errorMiddlewares = []
const instance = (event, context, callback) => {
- instance.event = event;
- instance.context = context;
- instance.response = null;
- instance.error = null;
+ instance.event = event
+ instance.context = contex... | 14 |
diff --git a/src/pages/strategy/sortielogs.js b/src/pages/strategy/sortielogs.js + JSON.stringify(sortieData), "_blank");
} else {
window.open("https://kc3kai.github.io/kancolle-replay/battleplayer.html#"
- + encodeURIComponent(JSON.stringify(sortieData), "_blank"));
+ + encodeURIComponent(JSON.stringify(sortieData)), ... | 1 |
diff --git a/polyfills/requestIdleCallback/polyfill.js b/polyfills/requestIdleCallback/polyfill.js var scheduledAnimationFrameId;
var scheduledAnimationFrameTimeout;
- var frameDeadline = 0;
-
- var messageChannel = new MessageChannel();
- var port = messageChannel.port2;
-
// We start out assuming that we run at 30fps... | 0 |
diff --git a/app/assets/stylesheets/editor-3/_tab-pane.scss b/app/assets/stylesheets/editor-3/_tab-pane.scss -@import 'cdb-utilities/mixins';
-
.Tab-pane,
.Tab-paneContent {
- @include display-flex();
- @include flex(1 1 auto);
- @include flex-direction(column);
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: colu... | 2 |
diff --git a/app/containers/SettingsList.js b/app/containers/SettingsList.js @@ -891,14 +891,14 @@ class SettingsList extends Component {
<Grid.Column width={12}>
<Checkbox
data-tid="showPaperPreviewCheckbox"
- label={<label className={styles.label}>Show paper preview</label>}
+ label={<label className={styles.label}>S... | 10 |
diff --git a/lighthouse-cli/types/types.ts b/lighthouse-cli/types/types.ts @@ -10,6 +10,10 @@ interface AuditResult {
};
}
+interface AuditResults {
+ [metric: string]: AuditResult
+}
+
interface AuditFullResult {
rawValue: boolean|number;
displayValue: string;
@@ -26,6 +30,10 @@ interface AuditFullResult {
};
}
+inter... | 7 |
diff --git a/content/docs/for-developers/sending-email/rubyonrails.md b/content/docs/for-developers/sending-email/rubyonrails.md @@ -58,7 +58,7 @@ If you don't have a user model quite yet, generate one quickly.
$ rails generate scaffold user name email login
$ rake db:migrate
```
-Now in the controller for the user mod... | 7 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -1760,6 +1760,43 @@ const menuMesh = (() => {
offset -= 0.1;
}
};
+ const _renderObjects = () => {
+ _clearItems();
+
+ let offset = itemsOffset;
+
+ const featuredObjects = [
+ {
+ name: 'weapons',
+ url: `https://avaer.github.io/weapons/index.js`,
+ },
+ {
+ nam... | 0 |
diff --git a/DeletedUsersHelper.user.js b/DeletedUsersHelper.user.js // @description Additional capability and improvements to display/handle deleted users
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.22
+// @version 1.22.1
//
// @include https://*stackoverflow.com/*
// ... | 2 |
diff --git a/packages/app/src/components/Sidebar.tsx b/packages/app/src/components/Sidebar.tsx @@ -191,20 +191,23 @@ const Sidebar: FC<Props> = (props: Props) => {
resizableContainer.current.style.width = `${newWidth}px`;
}, []);
- const hoverHandler = useCallback((isHover: boolean) => {
+ const hoverOnResizableContain... | 7 |
diff --git a/src/styles/styles.js b/src/styles/styles.js @@ -1392,12 +1392,10 @@ const styles = {
textInputFullCompose: {
alignSelf: 'flex-end',
-
- // textAlignVertical: 'flex-end',
flex: 1,
maxHeight: '100%',
marginVertical: 0,
- overflow: 'hidden',
+ overflow: 'scroll',
paddingVertical: 5,
},
| 11 |
diff --git a/dbseed.js b/dbseed.js @@ -26,7 +26,7 @@ admin.initializeApp({ projectId })
const db = admin.firestore()
-async function seedDatabase() {
+async function seedData() {
try {
for (let i = 0; i < seedSize; i++) {
const job = {
@@ -75,4 +75,4 @@ async function seedDatabase() {
}
}
-seedDatabase()
+seedData()
| 10 |
diff --git a/world.js b/world.js @@ -10,6 +10,7 @@ import WSRTC from 'wsrtc/wsrtc.js';
import hpManager from './hp-manager.js';
// import {rigManager} from './rig.js';
import {AppManager} from './app-manager.js';
+import {chatManager} from './chat-manager.js';
// import {getState, setState} from './state.js';
// import... | 0 |
diff --git a/main.js b/main.js @@ -67,7 +67,7 @@ function mergeObjects() {
let finalObj = {}
for (let obj of arguments) {
for (let key in obj) {
- finalObk[key] = obj[key]
+ finalObj[key] = obj[key]
}
}
return finalObj
@@ -82,7 +82,7 @@ function writeWindowSize(win, cb) {
size.width = dimens[0]
size.height = dimens[1]
... | 1 |
diff --git a/test/integration/globals.test.js b/test/integration/globals.test.js @@ -251,9 +251,8 @@ describe('globals :: ', function() {
});
- it('should expose `async` as a global, using the custom async', function() {
- assert(_.isArray(result.async));
- assert(_.contains(result.async, 'owl'));
+ it('should NO LONGE... | 1 |
diff --git a/packages/medusa-plugin-brightpearl/src/services/brightpearl.js b/packages/medusa-plugin-brightpearl/src/services/brightpearl.js @@ -229,7 +229,7 @@ class BrightpearlService extends BaseService {
const authData = await this.getAuthData()
const orderId = fromOrder.metadata.brightpearl_sales_order_id
if (orde... | 11 |
diff --git a/articles/migrations/index.md b/articles/migrations/index.md @@ -111,8 +111,8 @@ To get a valid Access Token for these endpoints during authorization, you have t
For example, the [GET /api/v2/users/{id} endpoint](/api/management/v2#!/Users/get_users_by_id) requires two scopes: `read:users` and `read:user_id... | 3 |
diff --git a/vaadin-grid-table-cell.html b/vaadin-grid-table-cell.html if (this._reorderGhost) {
e.preventDefault();
- // TODO: WTF doesn't bubble in tests?
- // var event = new CustomEvent('dragend', {bubbles: true});
- // this.dispatchEvent(event);
- this.fire('dragend');
+ var event = new CustomEvent('dragend', {bub... | 4 |
diff --git a/module/actor-sheet.js b/module/actor-sheet.js @@ -543,17 +543,25 @@ export class GurpsActorSheet extends ActorSheet {
)
html.find('#qnotes').dblclick(ex => {
- const n = this.actor.data.data.additionalresources.qnotes || ''
- Dialog.prompt({
+ let n = this.actor.data.data.additionalresources.qnotes || ''
+... | 11 |
diff --git a/src/angular/projects/spark-core-angular/src/lib/components/sprk-pagination/sprk-pagination.component.ts b/src/angular/projects/spark-core-angular/src/lib/components/sprk-pagination/sprk-pagination.component.ts @@ -160,27 +160,29 @@ import {
<a
(click)="goForward($event, currentPage)"
[ngClass]="{
- 'sprk-c... | 3 |
diff --git a/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb b/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb </optgroup>
<optgroup label="<%= t('camaleon_cms.admin.settings.others') %>">
- <% value = "User,#{current_site.id}" %>
+ <% value = "#{PluginRoutes.static_system_info['user... | 4 |
diff --git a/lib/core.js b/lib/core.js @@ -1995,7 +1995,7 @@ module.exports = function reglCore (
useVAO = useVAO && !!binding
return binding
})
- if (useVAO) {
+ if (useVAO && staticBindings.length > 0) {
var vao = attributeState.getVAO(attributeState.createVAO(staticBindings))
result.drawVAO = new Declaration(null, n... | 9 |
diff --git a/website/src/_posts/2019-03-0.30.md b/website/src/_posts/2019-03-0.30.md @@ -46,8 +46,8 @@ npm install --save @uppy/robodog
Or import it using an HTML script tag:
```html
-<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/v0.30.2/robodog.min.css">
-<script src="https://transloadit.edg... | 3 |
diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_DirectToPage.js b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_DirectToPage.js @@ -83,21 +83,21 @@ class CJ4_FMC_DirectToPage {
//trying to buil... | 1 |
diff --git a/src/components/signup/SignupState.js b/src/components/signup/SignupState.js @@ -95,7 +95,6 @@ const Signup = ({ navigation }: { navigation: any, screenProps: any }) => {
}),
smsValidated: false,
isEmailConfirmed: skipEmail,
- jwt: '',
skipEmail: skipEmail,
skipPhone: skipMobile,
skipSMS: skipMobile,
| 2 |
diff --git a/src/modules/Scales.js b/src/modules/Scales.js @@ -253,7 +253,7 @@ export default class Range {
// no data in the chart. Either all series collapsed or user passed a blank array
gl.xAxisScale = this.linearScale(0, 5, 5)
} else {
- gl.xAxisScale = this.niceScale(
+ gl.xAxisScale = this.linearScale(
minX,
max... | 14 |
diff --git a/data/defaultSettings.js b/data/defaultSettings.js @@ -29,7 +29,7 @@ const defaultSettings = {
"atb": null,
"trackersWhitelistTemporary": "https://duckduckgo.com/contentblocking/trackers-whitelist-temporary.txt",
"trackersWhitelistTemporary-etag": null,
- "trackersWhitelist": "https://duckduckgo.com/content... | 3 |
diff --git a/app/controllers/carto/api/data_import_presenter.rb b/app/controllers/carto/api/data_import_presenter.rb @@ -133,13 +133,6 @@ module Carto
display_name || @data_import.id
end
rescue => e
- CartoDB.notify_debug(
- 'Error extracting display name',
- data_import_id: @data_import.id,
- service_item_id: @data_im... | 2 |
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -613,7 +613,7 @@ class GrapherModule extends HTMLElement {
}
//if there's a valid task region paint it in the image, otherwise ignore it
- if (taskIndex) {
+ if (taskIndex !== null) {
let keys = Object.keys(tasks.rawTa... | 1 |
diff --git a/BUILDING.md b/BUILDING.md @@ -42,32 +42,57 @@ browserify index.js > bundle.js
## Angular CLI
-Currently Angular CLI uses Webpack under the hood to bundle and build your Angular application.
-Sadly it doesn't allow you to override its Webpack config in order to add the plugin mentioned in the [Webpack](#web... | 0 |
diff --git a/gears/carto_gears_api/test/dummy/app/assets/javascripts/application.js b/gears/carto_gears_api/test/dummy/app/assets/javascripts/application.js -// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within t... | 2 |
diff --git a/src/core/mapbox/FeatureFilter.js b/src/core/mapbox/FeatureFilter.js +import { extend } from '../util';
+
/*eslint-disable no-var*/
/*!
Feature Filter by
@@ -125,19 +127,15 @@ export function compileStyle(styles) {
}
const compiled = [];
for (let i = 0; i < styles.length; i++) {
+ let filter;
if (styles[i][... | 3 |
diff --git a/src/reducers/json.js b/src/reducers/json.js @@ -15,6 +15,8 @@ import postMethods from './posts'
import relationshipMethods from './relationships'
import v3Reducer from './v3_reducer'
+const { OrderedSet } = Immutable;
+
// adding methods and accessing them from this object
// allows the unit tests to stub ... | 9 |
diff --git a/token-metadata/0x239B0Fa917d85c21cf6435464C2c6aa3D45f6720/metadata.json b/token-metadata/0x239B0Fa917d85c21cf6435464C2c6aa3D45f6720/metadata.json "symbol": "ETH3L",
"address": "0x239B0Fa917d85c21cf6435464C2c6aa3D45f6720",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/token-metadata/0xCC4304A31d09258b0029eA7FE63d032f52e44EFe/metadata.json b/token-metadata/0xCC4304A31d09258b0029eA7FE63d032f52e44EFe/metadata.json "symbol": "SWAP",
"address": "0xCC4304A31d09258b0029eA7FE63d032f52e44EFe",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/guide/english/cplusplus/while-loop/index.md b/guide/english/cplusplus/while-loop/index.md @@ -5,9 +5,11 @@ title: While-loop
A while loop statement repeatedly executes a target statement as long as a given condition is true.
Syntax:
+```C++
while(condition) {
statement(s);
}
+```
A key point of the while l... | 7 |
diff --git a/source/transfers/contracts/TransferHandlerRegistry.sol b/source/transfers/contracts/TransferHandlerRegistry.sol @@ -14,7 +14,7 @@ contract TransferHandlerRegistry {
);
// Mapping of bytes4 to contract interface type
- mapping (bytes4 => ITransferHandler) private _transferHandlerMapping;
+ mapping (bytes4 =... | 10 |
diff --git a/components/bases-locales/bases-adresse-locales/dataset/header.js b/components/bases-locales/bases-adresse-locales/dataset/header.js @@ -36,7 +36,7 @@ class Header extends React.Component {
</Info>
)}
</div>
- {logo && <Image width={240} height={140} src={logo} alt={`${name}-logo`} />}
+ {logo && <Image obj... | 0 |
diff --git a/examples/particles/js/game.js b/examples/particles/js/game.js @@ -4,7 +4,7 @@ var game = {
// Run on page load.
onload: function () {
// init the video
- if (!me.video.init(800, 600, {wrapper : "screen", scale : me.device.devicePixelRatio})) {
+ if (!me.video.init(800, 600, {wrapper : "screen", scale : me.... | 1 |
diff --git a/src/kiri-mode/cam/client.js b/src/kiri-mode/cam/client.js @@ -392,6 +392,7 @@ CAM.init = function(kiri, api) {
}, 250);
}
function onDown(ev) {
+ let mobile = ev.touches;
func.surfaceDone();
func.traceDone();
let target = ev.target, clist = target.classList;
@@ -435,8 +436,12 @@ CAM.init = function(kiri, a... | 11 |
diff --git a/src/views/Wallet/WalletNFTs.vue b/src/views/Wallet/WalletNFTs.vue >Check out Stratos</a
>
</div>
+ <div class="d-flex justify-content-center">
+ <a
+ class="text-primary font-weight-bold"
+ href="https://blog.liquality.io/nfts-are-here-manage-your-collections-from-multiple-chains-on-your-liquality-wallet/"... | 3 |
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -88,7 +88,7 @@ The following matrix lists the level of support Auth0 will provide with regards
<td>***</td>
</tr>
<tr>
- <td>Microsoft Internet Explorer 10</td>
+ <td>Microsoft Internet Explorer 11</td>
<td>**</td>
</tr>
<tr>
| 0 |
diff --git a/instancing.js b/instancing.js @@ -781,7 +781,8 @@ export class InstancedGeometryAllocator {
texture.name = name;
texture.minFilter = THREE.NearestFilter;
texture.magFilter = THREE.NearestFilter;
- // texture.needsUpdate = true;
+ // texture.flipY = true;
+ texture.needsUpdate = true;
texture.itemSize = ite... | 0 |
diff --git a/examples/project_website/base.html b/examples/project_website/base.html //file: "./data/calcium.json",
file: "./data/production.json",
//file: "./data/digital-education-sg.json",
+ // other attributes:
+ is_streamgraph: false, // set true for streamgraph data
+ show_area: true, // set false for streamgraph... | 1 |
diff --git a/lib/plugins/sustainable/pug/index.pug b/lib/plugins/sustainable/pug/index.pug @@ -29,7 +29,7 @@ table
td #{sustainable.co2PerParty.firstParty.median || Number(sustainable.co2PerParty.firstParty).toFixed(3)} grams
tr
td 1 page view third party
- td #{sustainable.co2PerParty.thirdParty.median || Number(susta... | 9 |
diff --git a/approved.yaml b/approved.yaml @@ -773,3 +773,15 @@ shadowrun5thedition:
combatmaster:
- "CombatMaster"
- "Utility"
+
+deltagreen:
+ - "Delta Green"
+ - "System Toolbox"
+
+wildshaperesizer:
+ - "WildShapeResizer"
+ - "Utility"
+
+savageworldsstatuschanger:
+ - "SavageWorldsStatusChanger"
+ - "System Toolbo... | 3 |
diff --git a/ui/src/components/editor/editor-caret.js b/ui/src/components/editor/editor-caret.js @@ -234,7 +234,7 @@ export class Caret {
}
else if (cmd === 'viewsource') {
this.vm.isViewingSource = !this.vm.isViewingSource
- this.vm.setContent(this.vm.value)
+ this.vm.__setContent(this.vm.value)
done()
return
}
| 1 |
diff --git a/edit.js b/edit.js @@ -5511,12 +5511,13 @@ pe.domElement.addEventListener('drop', async e => {
const sx = Math.floor(localVector.x/currentChunkMesh.subparcelSize);
const sy = Math.floor(localVector.y/currentChunkMesh.subparcelSize);
const sz = Math.floor(localVector.z/currentChunkMesh.subparcelSize);
- cons... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.