code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/plots/gl3d/scene.js b/src/plots/gl3d/scene.js @@ -990,11 +990,11 @@ proto.updateFx = function(dragmode, hovermode) {
};
function flipPixels(pixels, w, h) {
- for(var j = 0, k = h - 1; j < k; ++j, --k) {
- for(var i = 0; i < w; ++i) {
- for(var l = 0; l < 4; ++l) {
- var a = 4 * (w * j + i) + l;
- var b... | 10 |
diff --git a/lambda/fulfillment/lib/middleware/5_cache.js b/lambda/fulfillment/lib/middleware/5_cache.js @@ -7,7 +7,7 @@ var util=require('./util')
module.exports=async function cache(req,res){
console.log("Entering Cache Middleware")
console.log("response:" + JSON.stringify(res))
- res.out.sessionAttributes.cachedOutp... | 1 |
diff --git a/src/libs/KeyboardShortcut/index.js b/src/libs/KeyboardShortcut/index.js @@ -177,15 +177,19 @@ function getShortcutModifiers(modifiers) {
}
/**
- * Module storing the different keyboard shortcut
+ * This module configures a global keyboard event handler.
*
- * We are using a push/pop model where new event a... | 7 |
diff --git a/app/components/Summary/index.js b/app/components/Summary/index.js @@ -19,6 +19,8 @@ import { createStructuredSelector } from 'reselect';
import { makeSelectActiveNetwork, makeSelectAccount } from 'containers/NetworkClient/selectors';
import AccountCircle from '@material-ui/icons/AccountCircle';
+import Ann... | 0 |
diff --git a/src/content/en/fundamentals/performance/user-centric-performance-metrics.md b/src/content/en/fundamentals/performance/user-centric-performance-metrics.md @@ -2,7 +2,7 @@ project_path: /web/fundamentals/_project.yaml
book_path: /web/fundamentals/_book.yaml
description: User-centric Performance Metrics
-{# w... | 1 |
diff --git a/server/preprocessing/other-scripts/summarize.R b/server/preprocessing/other-scripts/summarize.R @@ -36,12 +36,11 @@ create_cluster_labels <- function(clusters, metadata, lang,
weightingspec,
top_n, stops, taxonomy_separator="/") {
nn_corpus <- get_cluster_corpus(clusters, metadata, stops, taxonomy_separato... | 2 |
diff --git a/src/screens/transfer/screen/delegateScreen.js b/src/screens/transfer/screen/delegateScreen.js @@ -4,7 +4,6 @@ import { WebView } from 'react-native-webview';
import { injectIntl } from 'react-intl';
import Slider from '@esteemapp/react-native-slider';
import get from 'lodash/get';
-import ActionSheet from ... | 14 |
diff --git a/src/components/Map.jsx b/src/components/Map.jsx @@ -18,13 +18,11 @@ const maps = Object.fromEntries(rawMapData.map((mapData) => {
function Map() {
let {currentMap} = useParams();
- console.log(currentMap);
-
return <img
alt = {`Map of ${maps[currentMap].displayText}`}
className = "map-image"
title = {`Map ... | 4 |
diff --git a/Apps/Sandcastle/gallery/Particle System Weather.html b/Apps/Sandcastle/gallery/Particle System Weather.html snowParticleSize * 2.0,
snowParticleSize * 2.0
);
- const snowUpdate = function (particle, dt) {
let snowGravityScratch = new Cesium.Cartesian3();
+ const snowUpdate = function (particle, dt) {
snowG... | 3 |
diff --git a/new-client/src/plugins/DocumentHandler/panelMenu/PanelList.js b/new-client/src/plugins/DocumentHandler/panelMenu/PanelList.js @@ -54,7 +54,7 @@ class PanelList extends React.PureComponent {
<List
style={{ position: "static" }}
disablePadding
- id="panelmenu"
+ id={`panellist_${level}`}
role="navigation"
co... | 12 |
diff --git a/app/components/layout/Navigation/MyBuilds/index.js b/app/components/layout/Navigation/MyBuilds/index.js @@ -2,6 +2,7 @@ import React from 'react';
import Relay from 'react-relay';
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
import classNames from 'classnames';
+import { hour } ... | 14 |
diff --git a/blots/scroll.js b/blots/scroll.js @@ -166,7 +166,7 @@ class Scroll extends ScrollBlot {
}
mutations = mutations.filter(({ target }) => {
const blot = this.find(target, true);
- return blot && blot.scroll === this;
+ return blot && blot.scroll === this && !blot.updateContent;
});
if (mutations.length > 0) {... | 8 |
diff --git a/jobs/starlink.js b/jobs/starlink.js @@ -2,7 +2,7 @@ const got = require('got');
const { CookieJar } = require('tough-cookie');
const Moment = require('moment-timezone');
const MomentRange = require('moment-range');
-const { getSatelliteInfo } = require('tle.js/dist/tlejs.cjs');
+const { getSatelliteInfo } ... | 1 |
diff --git a/generators/server/templates/entity/src/main/java/package/service/mapper/EntityMapper.java.ejs b/generators/server/templates/entity/src/main/java/package/service/mapper/EntityMapper.java.ejs @@ -109,9 +109,17 @@ public interface <%= entityClass %>Mapper extends EntityMapper<<%= dtoClass %>,
@Mapping(target ... | 11 |
diff --git a/lib/console_web/controllers/router/device_controller.ex b/lib/console_web/controllers/router/device_controller.ex @@ -109,6 +109,11 @@ defmodule ConsoleWeb.Router.DeviceController do
multi_buy_value: 1,
preferred_hotspots: preferred_hotspots_addresses
}
+ true ->
+ %{
+ multi_buy_value: 1,
+ preferred_hots... | 9 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -42,7 +42,7 @@ module.exports = function (grunt) {
grunt.registerTask("test-node",
"Run all the node tests in the tests directory",
- ["clean", "exec:generateConfig", "exec:generateNodeIndex", "exec:generateConfig", "exec:nodeTests"]);
+ ["clean", "exec:generateConfig", "exec... | 2 |
diff --git a/stubs/simpleConfig.stub.js b/stubs/simpleConfig.stub.js module.exports = {
- theme: {
- // Some useful comment
- },
- variants: {
- // Some useful comment
- },
- plugins: [
- // Some useful comment
- ]
+ theme: {},
+ variants: {},
+ plugins: []
}
| 2 |
diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx @@ -246,7 +246,6 @@ export default class Footer extends Component {
onClick={this.layoutBtnClickhandler.bind(this, 1)}
id="layoutBtn1"
class="mode-btn hide-on-mobile"
- style="display: none"
aria-label="Switch to layout with preview on right"
>
<svg vie... | 11 |
diff --git a/.travis.yml b/.travis.yml @@ -36,7 +36,7 @@ deploy:
skip_cleanup: true
email: "n1474335@gmail.com"
api_key:
- secure: "Z3FK6bm4RfQEIRXZ1lBNzQkVIoHpivThr9U+XBHmsBgIfdrK/XUnzs/slugo+NIz8nPiGmMx4gxyJonBCLHDGb1ysky2aEWTl26c0teaF4DeQEjWC1ZaGzv8MV1/GkUamnr1qouXjyUhyEAp33rd8ccN9Rq3QNYB/qLDcA9/FCme7JCW6sCd4zWO0LGE... | 3 |
diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlan.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlan.js @@ -5,7 +5,7 @@ const BbPromise = require('bluebird');
module.exports = {
compileUsagePlan() {
- if (this.serverless.service.provider.apiKeys) {
+ if (this.serverless.serv... | 11 |
diff --git a/generation/package.json b/generation/package.json "author": "DanielMSchmidt <danielmschmidt92@gmail.com>",
"license": "MIT",
"lint-staged": {
- "*.{js,json,css,md}": ["prettier --write", "git add"]
+ "*.{js,json,css,md}": [
+ "prettier --write",
+ "git add"
+ ]
},
"devDependencies": {
"babel-generator": "^... | 2 |
diff --git a/src/components/topic/summary/TopicStoryStatsContainer.js b/src/components/topic/summary/TopicStoryStatsContainer.js @@ -59,7 +59,12 @@ TopicStoryStatsContainer.propTypes = {
};
const mapStateToProps = state => ({
- fetchStatus: state.topics.selected.summary.geocodedStoryTotals.fetchStatus, // TODO: respect... | 4 |
diff --git a/assets/js/modules/analytics/datastore/properties.test.js b/assets/js/modules/analytics/datastore/properties.test.js @@ -29,9 +29,6 @@ import {
} from 'tests/js/utils';
import * as fixtures from './__fixtures__';
import { MODULES_ANALYTICS_4 } from '../../analytics-4/datastore/constants';
-import * as modul... | 2 |
diff --git a/assets/js/modules/thank-with-google/components/setup/index.js b/assets/js/modules/thank-with-google/components/setup/index.js * limitations under the License.
*/
-export { default as SetupForm } from './SetupForm';
export { default as SetupMain } from './SetupMain';
export { default as SetupCreatePublicati... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,38 @@ 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.46.0] -- 2019-04-01
+
+### Added
+- New `waterfall` trace type [#3531, #3708]
+- New `sunburst` trace type [#3594]
+- Add attributes ... | 3 |
diff --git a/README.md b/README.md SqueakJS: A Squeak VM for the Web and Node.js
=============================================
-SqueakJS is an HTML5 runtime engine for [Squeak][squeak]</a> Smalltalk written in pure JavaScript by Bert Freudenberg.
+SqueakJS is an HTML5 runtime engine for [Squeak][squeak]</a> Smalltalk w... | 10 |
diff --git a/generators/server/templates/src/test/java/package/web/rest/UserResourceIT.java.ejs b/generators/server/templates/src/test/java/package/web/rest/UserResourceIT.java.ejs @@ -534,7 +534,6 @@ class UserResourceIT <% if (databaseTypeCassandra) { %>extends AbstractCassandra
<%_ } _%>
<%_ } _%>
}
-<%_ } _%>
@Test... | 2 |
diff --git a/src/botPage/bot/TradeEngine/Proposal.js b/src/botPage/bot/TradeEngine/Proposal.js @@ -29,6 +29,10 @@ export default Engine =>
proposal.contractType === contractType &&
proposal.purchaseReference === this.getPurchaseReference()
) {
+ // Below happens when a user has had one of the proposals return
+ // with... | 9 |
diff --git a/types/index.d.ts b/types/index.d.ts @@ -258,7 +258,9 @@ export interface Column<RowData extends object> {
validate?: (
rowData: RowData
) => { isValid: boolean; helperText?: string } | string | boolean;
- render?: (data: RowData, type: 'row' | 'group') => React.ReactNode;
+ render?:
+ | ((data: RowData, ty... | 7 |
diff --git a/devices/cleode.js b/devices/cleode.js const exposes = require('../lib/exposes');
-const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
-const tz = require('../converters/toZigbee');
const reporting = require('../lib/reporting');
const e = exposes.presets;
+const... | 7 |
diff --git a/packages/node_modules/@node-red/nodes/locales/de/storage/10-file.html b/packages/node_modules/@node-red/nodes/locales/de/storage/10-file.html aber typischerweise 64k (Linux/Mac) oder 41k (Windows).</p>
<p>Bei Aufteilung in mehrere Nachrichten besitzt jede eine <code>parts</code>-Eigenschaft,
welche eine ko... | 2 |
diff --git a/test/integration/builder/selects.js b/test/integration/builder/selects.js @@ -1255,6 +1255,9 @@ module.exports = function(knex) {
}
const rowName = 'row for skipLocked() test #1';
+ await knex('test_default_table')
+ .delete()
+ .where({ string: rowName });
await knex('test_default_table').insert([
{ strin... | 1 |
diff --git a/etc/src/appcfg.js b/etc/src/appcfg.js @@ -7,12 +7,13 @@ const fs = require('fs');
const path = require('path');
// Return the value of an element
-const element = (content, elements) => {
+const element = (content, elements, cfgFile) => {
let result = content;
for(let element of elements) {
result = result... | 7 |
diff --git a/apps.json b/apps.json "version": "0.01",
"description": "Emojis & Espruino: broadcast Unicode emojis via Bluetooth Low Energy.",
"icon": "emojuino.png",
+ "type": "app",
"tags": "emoji",
"supports" : [ "BANGLEJS2" ],
+ "allow_emulator": true,
"readme": "README.md",
"storage": [
{ "name": "emojuino.app.js",... | 11 |
diff --git a/packages/vulcan-forms/lib/FormWrapper.jsx b/packages/vulcan-forms/lib/FormWrapper.jsx @@ -54,15 +54,19 @@ class FormWrapper extends PureComponent {
const schema = this.getSchema();
const fields = this.props.fields;
+ const viewableFields = _.filter(_.keys(schema), fieldName => !!schema[fieldName].viewableB... | 7 |
diff --git a/UserReviewBanHelper.user.js b/UserReviewBanHelper.user.js // @description Display users' prior review bans in review, Insert review ban button in user review ban history page, Load ban form for user if user ID passed via hash
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-/... | 10 |
diff --git a/src/configuration/default-values.js b/src/configuration/default-values.js @@ -24,7 +24,8 @@ export const DEFAULT_TYPESCRIPT_COMPILER_OPTIONS = {
noImplicitAny: false,
module: 1 /* ts.ModuleKind.CommonJS */,
target: 2 /* ES6 */,
- suppressOutputPathCheck: true
+ suppressOutputPathCheck: true,
+ skipLibCheck... | 7 |
diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js @@ -239,7 +239,7 @@ class ProfilePage extends Component {
inputID="firstName"
name="fname"
label={this.props.translate('common.firstName')}
- defaultValue={currentUserDetails.firstName}
+ defaultValue={lodashGet(currentUs... | 4 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.stories.ts @@ -95,7 +95,7 @@ export const defaultStory = () => ({
class="sprk-c-Masthead__logo"
xmlns="http://www.w3.org/2000/svg"
width="... | 3 |
diff --git a/OurUmbraco.Site/macroScripts/repository-view-project.cshtml b/OurUmbraco.Site/macroScripts/repository-view-project.cshtml var packageRepoService = new PackageRepositoryService(umbracoHelper, umbracoHelper.MembershipHelper, ApplicationContext.Current.DatabaseContext);
//This doesn't matter what we set it to... | 1 |
diff --git a/src/ios/BranchSDK.m b/src/ios/BranchSDK.m - (void)disableTracking:(CDVInvokedUrlCommand*)command
{
- bool enabled = [[command.arguments objectAtIndex:0] boolValue] == YES;
+ bool enabled = [[command.arguments objectAtIndex:0] boolValue];
[Branch setTrackingDisabled:enabled];
CDVPluginResult* pluginResult =... | 2 |
diff --git a/docs/developer-guide/using-lighting.md b/docs/developer-guide/using-lighting.md @@ -4,6 +4,13 @@ A deck.gl lighting effect is a visual approximation of environment illumination
To enable lighting in deck.gl, it is required that both the lighting effect and material instances are properly instantiated.
+<if... | 0 |
diff --git a/src/index.md b/src/index.md @@ -8,6 +8,7 @@ layout: index
A web framework for building virtual reality experiences
</h1>
-<h2 class="intro">
- With HTML and Entity-Component ecosystem. Works on Vive, Rift, desktop, mobile platforms.
-</h2>
+<div class="intro">
+ <p>Make WebVR with HTML and Entity-Component... | 7 |
diff --git a/bin/nightscout.sh b/bin/nightscout.sh @@ -153,10 +153,10 @@ openaps use ns shell upload treatments.json recently/combined-treatments.json
status - ns-status
get-status - status - get NS status
preflight - NS preflight
- temp_targets - Get temp target treatments from Nightscout (last 6 hours)
- Last 6 hours... | 13 |
diff --git a/package.json b/package.json "eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eth-gas-reporter": "0.2.6",
- "ganache-cli": "6.7.0",
+ "ganache-cli": "^6.4.1",
"glob": "^7.1.3",
"mkdirp": "^0.5.1",
"prettier": "^1.14.2",
| 13 |
diff --git a/runtime/scripts/part.js b/runtime/scripts/part.js @@ -231,7 +231,6 @@ Part.prototype = /** @lends Numbas.parts.Part.prototype */ {
tryGetAttribute(this.settings,this.xml,adaptiveMarkingNode,['penalty','strategy'],['adaptiveMarkingPenalty','variableReplacementStrategy']);
var variableReplacementsNode = this... | 12 |
diff --git a/includes/Modules/Subscribe_With_Google.php b/includes/Modules/Subscribe_With_Google.php @@ -62,23 +62,6 @@ final class Subscribe_With_Google extends Module
new SinglePost( $is_amp );
}
- /**
- * Returns all module information data for passing it to JavaScript.
- *
- * @since 1.0.0
- *
- * @return array Mod... | 2 |
diff --git a/assets/src/Header.js b/assets/src/Header.js @@ -13,12 +13,8 @@ export default class Header extends Component {
constructor(props) {
super(props);
this.state = {
- menuAnchorElement: null,
borrowedBooksCount: 0,
};
-
- this._handleMenuClick = this._handleMenuClick.bind(this);
- this._handleMenuClose = this.... | 2 |
diff --git a/js/webviews.js b/js/webviews.js @@ -51,6 +51,11 @@ function getViewBounds () {
}
function captureCurrentTab () {
+ if (webviews.placeholderRequests.length > 0) {
+ // capturePage doesn't work while the view is hidden
+ return
+ }
+
ipc.send('getCapture', {
id: tabs.getSelected(),
width: Math.round(window.i... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -31015,6 +31015,11 @@ var $$IMU_EXPORT$$;
// https://static.wikia.nocookie.net/klonoa/images/7/7c/Fix_pk_bsc.jpg/revision/latest/scale-to-width-down/350?cb=20090113193248
// https://static.wikia.nocookie.net/klonoa/images/7/7c/Fix_pk_bsc.jpg/revision/latest/?cb=20... | 7 |
diff --git a/src/api/user.js b/src/api/user.js @@ -141,7 +141,7 @@ export default ({ config, db }) => {
})
/**
- * POST for changing user's password
+ * POST for changing user's password (old, keep for backward compatibility)
*/
userApi.post('/changePassword', (req, res) => {
const userProxy = _getProxy(req)
@@ -150,7 ... | 10 |
diff --git a/src/containers/Home.js b/src/containers/Home.js @@ -15,7 +15,7 @@ import theme from '../theme'
export default () => (
<Provider theme={theme}>
<Head><title>Hack Club</title></Head>
- <Nav style={{ position: 'absolute', top: 0 }} cloud />
+ <Nav style={{ position: 'absolute', top: 0 }} cloud="true" />
<Bubb... | 1 |
diff --git a/game.js b/game.js @@ -1365,6 +1365,22 @@ const _bindLocalPlayerTeleport = () => {
};
_bindLocalPlayerTeleport(); */
+cameraManager.addEventListener('modechange', e => {
+ const {mode} = e.data;
+ const firstPerson = mode === 'firstperson';
+ const localPlayer = metaversefileApi.useLocalPlayer();
+ if (firs... | 0 |
diff --git a/README.md b/README.md @@ -193,7 +193,16 @@ Features
========
- [x] glTF 2.0
-- [x] KHR_lights_punctual extension
-- [x] KHR_materials_pbrSpecularGlossiness
-- [x] KHR_materials_unlit extension
-- [x] KHR_texture_transform extension
+- [x] [KHR_lights_punctual](https://github.com/KhronosGroup/glTF/tree/mast... | 3 |
diff --git a/src/broker/index.js b/src/broker/index.js @@ -359,17 +359,14 @@ module.exports = class Broker {
const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)
const result = await this.connection.send(listOffsets({ replicaId, isolationLevel, topics }))
- // Kafka >= 0.11 will return a si... | 14 |
diff --git a/packages/titus-components/src/navigation/navigation.js b/packages/titus-components/src/navigation/navigation.js @@ -92,7 +92,7 @@ class Navigation extends Component {
theme: PropTypes.object.isRequired,
items: PropTypes.func,
main: PropTypes.func.isRequired,
- customComponent: PropTypes.func
+ headerRight:... | 10 |
diff --git a/html/.storybook/config.js b/html/.storybook/config.js @@ -5,7 +5,7 @@ import { withA11y } from '@storybook/addon-a11y';
import sparkTheme from '../../storybook-utilities/storybook-theming/storybook-spark-theme';
import 'iframe-resizer/js/iframeResizer.contentWindow.min';
import '!style-loader!css-loader!sa... | 3 |
diff --git a/layouts/_default/list.html b/layouts/_default/list.html {{- $name := replace .Name "/index" "" -}}
{{- $directory_same_name := in ($.Scratch.Get "local_fragments_dirs") (printf "%s%s/" $.Dir (replace $name ".md" "")) -}}
{{- $file_same_name := where ($.Scratch.Get "fragments") ".Name" $name -}}
- {{- if an... | 2 |
diff --git a/src/components/InstructionsErrorBoundary.jsx b/src/components/InstructionsErrorBoundary.jsx @@ -8,22 +8,22 @@ export default class InstructionsErrorBoundary extends React.Component {
this.state = {useHighlighting: true};
}
- unstable_handleError() { // eslint-disable-line camelcase
/*
- Highlight.js throws... | 5 |
diff --git a/shared/js/tab.js b/shared/js/tab.js @@ -27,7 +27,6 @@ const Tracker = require('./tracker')
const Score = require('./score')
const utils = require('./utils')
const Companies = require('./companies')
-const tabManager = require('./tabManager')
class Tab {
constructor(tabData) {
| 2 |
diff --git a/src/lib/sb-file-uploader-hoc.jsx b/src/lib/sb-file-uploader-hoc.jsx @@ -13,6 +13,7 @@ import {
onLoadedProject,
requestProjectUpload
} from '../reducers/project-state';
+import {setProjectTitle} from '../reducers/project-title';
import {
openLoadingProject,
closeLoadingProject
@@ -147,20 +148,21 @@ const S... | 5 |
diff --git a/src/components/IOUConfirmationList.js b/src/components/IOUConfirmationList.js @@ -107,7 +107,7 @@ class IOUConfirmationList extends Component {
this.toggleOption = this.toggleOption.bind(this);
- const formattedParticipants = this.getParticipantsWithAmount(this.props.participants).map(participant => ({
+ c... | 4 |
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -432,12 +432,17 @@ function handleBackspace(range, context) {
let formats = {};
if (context.offset === 0) {
const [prev] = this.quill.getLine(range.index - 1);
- if (prev != null && prev.length() > 1) {
+ if (prev != null) {
+ if (prev.statics.blotName === 'tabl... | 9 |
diff --git a/CommentFlagsHelper.user.js b/CommentFlagsHelper.user.js // Change "dismiss" link to "decline"
$('.cancel-comment-flag').text('decline');
- // Start from bottom link (only when more than 5 flags present on page
- if($('.messageDivider').length > 5) {
+ // Start from bottom link (only when more than 3 posts ... | 2 |
diff --git a/docs/_sass/_main.scss b/docs/_sass/_main.scss @@ -59,7 +59,7 @@ html,
body {
height: 100%;
min-height: 100%;
- background: $color-white;
+ background: $color-super-dark-green;
}
hr {
@@ -144,7 +144,7 @@ button {
&.success {
background-color: $color-green;
- color: $color-white;
+ color: $color-super-dark-g... | 4 |
diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js @@ -750,57 +750,23 @@ export default Backbone.Model.extend({
const { config } = this;
const editor = this.getEditor();
const { editors = [] } = config.grapesjs || {};
- const {
- DomComponents,
- CssComposer,
- UndoManager,
- Panels,
- Canvas,
- Keyma... | 7 |
diff --git a/src/settings/_colours-palette.scss b/src/settings/_colours-palette.scss $govuk-colours: (
"purple": #2e358b,
- "mauve": #6f72af,
- "fuchsia": #912b88,
+ "light-purple": #6f72af,
+ "bright-purple": #912b88,
"pink": #d53880,
- "baby-pink": #f499be,
+ "light-pink": #f499be,
"red": #b10e1e,
- "mellow-red": #df... | 4 |
diff --git a/js/coinex.js b/js/coinex.js @@ -190,7 +190,6 @@ module.exports = class coinex extends Exchange {
},
'options': {
'createMarketBuyOrderRequiresPrice': true,
- 'defaultType': 'main',
},
'commonCurrencies': {
'ACM': 'Actinium',
@@ -624,7 +623,7 @@ module.exports = class coinex extends Exchange {
const marketI... | 1 |
diff --git a/src/prebid.js b/src/prebid.js @@ -758,8 +758,50 @@ $$PREBID_GLOBAL$$.setS2SConfig = function(options) {
$$PREBID_GLOBAL$$.getConfig = config.getConfig;
/**
- * Set Prebid config options
- * @param {Object} options
+ * Set Prebid config options.
+ * (Added in version 0.27.0).
+ *
+ * `setConfig` is designed... | 7 |
diff --git a/src/generic-provider-views/Browser.js b/src/generic-provider-views/Browser.js @@ -47,7 +47,6 @@ module.exports = (props) => {
}],
folders: filteredFolders,
files: filteredFiles,
- isGrid: false,
activeRow: props.isActiveRow,
sortByTitle: props.sortByTitle,
sortByDate: props.sortByDate,
| 2 |
diff --git a/react/src/components/buttons/SprkButton.js b/react/src/components/buttons/SprkButton.js @@ -52,20 +52,25 @@ SprkButton.propTypes = {
*/
additionalClasses: PropTypes.string,
/**
- * The value supplied will be assigned to the
+ * Value assigned to the
* `data-analytics` attribute on the component.
* Intended... | 7 |
diff --git a/src/apps.json b/src/apps.json "MySQL"
],
"headers": {
- "link": "rel=\"https://api\\.w\\.org/\""
+ "link": "rel=\"https://api\\.w\\.org/\"",
+ "X-Pingback": "/xmlrpc\\.php$"
},
"js": {
"wp_username": ""
},
"meta": {
- "generator": "^WordPress ?([\\d.]+)?\\;version:\\1"
+ "generator": "^WordPress ?([\\d.]+)... | 7 |
diff --git a/assets/js/googlesitekit/datastore/ui/ui.js b/assets/js/googlesitekit/datastore/ui/ui.js import invariant from 'invariant';
import isPlainObject from 'lodash/isPlainObject';
-const RESET_IN_VIEW = 'RESET_IN_VIEW';
+/**
+ * Internal dependencies
+ */
+import Data from 'googlesitekit-data';
+import { CORE_UI ... | 7 |
diff --git a/game.js b/game.js @@ -312,7 +312,7 @@ let editedObject = null; */
// const coord = new THREE.Vector3();
// const lastCoord = coord.clone();
-let highlightedWorld = null;
+// let highlightedWorld = null;
/* const moveMesh = _makeTargetMesh();
moveMesh.visible = false;
@@ -2732,7 +2732,7 @@ const weaponsMana... | 2 |
diff --git a/assets/js/components/surveys/CurrentSurvey.stories.js b/assets/js/components/surveys/CurrentSurvey.stories.js @@ -74,7 +74,12 @@ SurveyAnsweredPositiveStory.args = {
`survey-${ fixtures.singleQuestionSurvey.session.session_id }`,
{
answers: [
- { question_ordinal: 1, answer_ordinal: 5 },
+ {
+ question_ord... | 1 |
diff --git a/token-metadata/0x0F5D2fB29fb7d3CFeE444a200298f468908cC942/metadata.json b/token-metadata/0x0F5D2fB29fb7d3CFeE444a200298f468908cC942/metadata.json "symbol": "MANA",
"address": "0x0F5D2fB29fb7d3CFeE444a200298f468908cC942",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/autoform-api.js b/autoform-api.js @@ -501,14 +501,18 @@ AutoForm.setFieldValue = function autoFormSetFieldValue(fieldName, value, formId
});
if (!template) return;
- if (!template.inputValues) return;
- if (!template.inputValues[fieldName]) return;
+
+ if (!template.inputValues[fieldName]) {
+ template.inp... | 9 |
diff --git a/generators/entity-client/templates/react/src/main/webapp/app/entities/_entity.tsx b/generators/entity-client/templates/react/src/main/webapp/app/entities/_entity.tsx @@ -141,7 +141,13 @@ export class <%= entityReactName %> extends React.Component<I<%= entityReactName
<%_ } _%>
<%_ } else { _%>
<%_ if (rela... | 9 |
diff --git a/test/definition.schema.test.js b/test/definition.schema.test.js @@ -976,14 +976,13 @@ describe('enforcer/schema', () => {
type: 'object',
properties: {
y: {
- type: 'boolean',
- format: 'date'
+ type: 'taco'
}
}
}
}
});
- expect(err).to.match(/Property not allowed: format/);
+ expect(err).to.match(/at: pro... | 1 |
diff --git a/packages/@uppy/dashboard/src/style.scss b/packages/@uppy/dashboard/src/style.scss overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin-top: 10px;
+ padding: 2px 0;
.uppy-size--md & {
flex-direction: row;
max-width: 600px;
overflow-x: initial;
margin-top: 30px;
+ padding-top: 0;
}
}
display: inline-b... | 0 |
diff --git a/lib/assets/javascripts/new-dashboard/pages/Home/Home.vue b/lib/assets/javascripts/new-dashboard/pages/Home/Home.vue <section class="page page--welcome">
<Welcome />
<MapsSection class="section" />
- <DatasetsSection class="section" />
+ <DatasetsSection class="section section--noBorder" />
</section>
</tem... | 2 |
diff --git a/articles/errors/deprecation-errors.md b/articles/errors/deprecation-errors.md @@ -67,9 +67,6 @@ Click on the **TRY** button. If successful, you should see a screen similar to t
| Cause | Resolution |
| --- | --- |
| You are using a legacy version of embedded Lock or Auth0.js SDK. | [Migrate to Universal Lo... | 3 |
diff --git a/packages/fether-ui/src/TokenCard/TokenCard.js b/packages/fether-ui/src/TokenCard/TokenCard.js @@ -20,14 +20,18 @@ export const TokenCard = ({
<Card {...otherProps}>
<div className='token'>
<div className='token_icon'>
- {token.logo ? (
+ {token && token.logo ? (
<img alt={token.symbol} src={token.logo} />
... | 11 |
diff --git a/package.json b/package.json "prepare": "npm run build",
"build": "rollup -c",
"lint": "eslint source",
- "fix": "eslint --fix source"
+ "lintfix": "eslint --fix source",
+ "fix": "prettier --write source && eslint --fix source"
},
"license": "MIT",
"repository": {
| 0 |
diff --git a/scripts/travis-ci.sh b/scripts/travis-ci.sh @@ -88,7 +88,7 @@ echo "
RUN_LINT='npm run lint'
SKIP_LINT=false
# Mocha framework tests that focus on user interaction
-START_KARMA='node_modules/.bin/karma start --single-run'
+START_KARMA='npm run test:unit'
SKIP_START_KARMA=false
# Jest markup & image snapsho... | 4 |
diff --git a/native/calendar/calendar.react.js b/native/calendar/calendar.react.js @@ -248,17 +248,13 @@ class InnerCalendar extends React.PureComponent {
) {
this.scrollToToday();
}
+
const lastLDWH = prevState.listDataWithHeights;
const newLDWH = this.state.listDataWithHeights;
- if (lastLDWH && newLDWH) {
- if (newL... | 1 |
diff --git a/apps/dg/views/component_view.js b/apps/dg/views/component_view.js @@ -458,13 +458,15 @@ DG.ComponentView = SC.View.extend(
null,
undo: (kViewInEmbeddedMode || kViewInComponentMode) ?
DG.TitleBarUndoButton.design({
- layout: {right: kTitleBarHeight, top: 10, width: 24, height: kTitleBarHeight},
+ layout: {r... | 7 |
diff --git a/public/student.css b/public/student.css body {color: #333;margin: 2em auto;font: 14px/1.42 "Helvetica Neue", Helvetica, Arial, sans-serif;max-width: 900px;}
.answer { border: 1px solid #aaa; padding: 5px; box-sizing: content-box; min-height: 100px; }
+.answer img { max-width: 100%; max-height: 1000px; }
.l... | 12 |
diff --git a/src/elements/element.point.js b/src/elements/element.point.js @@ -24,12 +24,12 @@ defaults._set('global', {
function xRange(mouseX) {
var vm = this._view;
- return vm ? (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;
+ return vm ? (Math.abs(mouseX - vm.x) < vm.radius + vm.hitR... | 7 |
diff --git a/index.html b/index.html @@ -15769,9 +15769,9 @@ N is the population size.
<!--Simple Probability-->
<div class="collapse" id="probabilitycollapse">
- <h1>Empirical Probability</h1>
+ <h1 style="text-align: center; margin-bottom: 20px;">Empirical Probability</h1>
<form action="">
- <div class="row">
+ <div ... | 7 |
diff --git a/spritesheet-manager.js b/spritesheet-manager.js @@ -28,10 +28,11 @@ class SpritesheetManager {
return spritesheet;
}
async getSpriteSheetForAppUrl(appUrl, opts) {
- // console.log('got spritesheet 1', appUrl, opts);
- const spritesheet = await this.getSpriteSheetForAppUrlInternal(appUrl, opts);
- // consol... | 0 |
diff --git a/demos/axis-autosize.html b/demos/axis-autosize.html stroke: "red",
class: "foo",
size(self, values, axisIdx, cycleNum) {
+ let axis = self.axes[axisIdx];
+
// bail out, force convergence
if (cycleNum > 2)
- return self.axes[axisIdx]._size;
+ return axis._size;
+
+ // find longest value
+ let maxSize = (val... | 7 |
diff --git a/docs/guides/place-my-order.md b/docs/guides/place-my-order.md @@ -906,6 +906,40 @@ Now we're ready to create a production build; go ahead and kill your development
Our `index.stache` contains a can-import tag for each of the pages we have implemented. These can-imports which have nested html will be progre... | 5 |
diff --git a/package.json b/package.json "dependencies": {
"babel-core": "^6.18.2",
"babel-plugin-transform-amd-system-wrapper": "^0.3.3",
- "babel-plugin-transform-cjs-system-wrapper": "^0.5.0",
+ "babel-plugin-transform-cjs-system-wrapper": "^0.6.0",
"babel-plugin-transform-es2015-modules-systemjs": "^6.6.5",
"babel-... | 3 |
diff --git a/src/scripts/ledger.js b/src/scripts/ledger.js @@ -15,6 +15,7 @@ const BECH32PREFIX = `cosmos`
export default class Ledger {
constructor({ requiredCosmosAppVersion, testModeAllowed, onOutdated }) {
+ /* istanbul ignore next */
this.checkLedgerErrors = (...args) =>
checkLedgerErrors(
{
| 8 |
diff --git a/config/bis_gulputils.js b/config/bis_gulputils.js @@ -28,10 +28,8 @@ let colors=require('colors/safe'),
gulpzip = require('gulp-zip'),
template=require('gulp-template'),
del = require('del'),
- gulp=require("gulp"),
- pwaconfig=require('../web/pwa/pwa_config.js');
+ gulp=require("gulp");
-//console.log(pwa... | 2 |
diff --git a/src/primitive.js b/src/primitive.js @@ -346,22 +346,8 @@ var _ = Mavo.Primitive = $.Class({
return this.preEdit;
}
- this.preEdit = this.preEdit || Mavo.promise();
-
- if (!wasEditing) {
- // Make element focusable, so it can actually receive focus
- if (this.element.tabIndex === -1) {
- Mavo.revocably.set... | 1 |
diff --git a/readme.md b/readme.md @@ -197,75 +197,13 @@ Immer exposes its functionality in 3 different ways:
* `import produce from "immer/proxy"`: This build is optimized for modern browser, which support Proxies and other modern language features, and doesn't polyfill things like `Symbol`. Use this if you are target... | 2 |
diff --git a/pages/search.js b/pages/search.js @@ -52,6 +52,20 @@ const getMeasurements = (query) => {
return client.get('/api/v1/measurements', {params})
}
+// Handle circular structures when stringifying
+const getCircularReplacer = () => {
+ const seen = new WeakSet()
+ return (key, value) => {
+ if (typeof value ==... | 9 |
diff --git a/app_web/index.html b/app_web/index.html @@ -204,12 +204,6 @@ function getUrlParam(parameter, defaultvalue){
<section>
<label class="label">Image Based Lighting</label>
<b-field label="Active Environment" class="smallerLabel">
- <!-- <b-select v-model="selectedEnvironment">
- <option v-for="name in Object.k... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.