code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/Source/Core/sampleTerrain.js b/Source/Core/sampleTerrain.js /*global define*/
define([
+ './Check',
'../ThirdParty/when',
'./defined',
'./DeveloperError'
], function(
+ Check,
when,
defined,
DeveloperError) {
@@ -45,15 +47,18 @@ define([
*/
function sampleTerrain(terrainProvider, level, positions) {
//>>in... | 14 |
diff --git a/packages/mjml-image/src/index.js b/packages/mjml-image/src/index.js @@ -50,6 +50,10 @@ export default class MjImage extends BodyComponent {
return {
img: {
border: this.getAttribute('border'),
+ 'border-left': this.getAttribute('left'),
+ 'border-right': this.getAttribute('right'),
+ 'border-top': this.get... | 9 |
diff --git a/packages/build/src/error/monitor/normalize.js b/packages/build/src/error/monitor/normalize.js @@ -48,7 +48,7 @@ const NORMALIZE_REGEXPS = [
// Numbers, e.g. number of issues/problems
[/\d+/g, '0'],
// Hexadecimal strings
- [/[0-9a-fA-F]{6,}/, 'hex'],
+ [/[0-9a-fA-F]{6,}/g, 'hex'],
// On unknown inputs, we ... | 7 |
diff --git a/index.html b/index.html </div>
+</div>
+
<div class="collapse" id="skews">
<h1 style="font-family:mathfont; text-align:center;">SKEWNESS CALCULATOR </h1>
<input type="text" name="skewinput" class="form__field" id="skewinput" width="5em" placeholder="Enter data set seperated by space">
| 1 |
diff --git a/app/models/user.rb b/app/models/user.rb @@ -52,17 +52,12 @@ class User < Sequel::Model
'instagram' => 'http://instagram.com/accounts/manage_access/'
}.freeze
- INDUSTRIES = ['Academic and Education', 'Architecture and Engineering', 'Banking and Finance',
- 'Business Intelligence and Analytics', 'Utilities ... | 3 |
diff --git a/src/components/ArrowKeyFocusManager.js b/src/components/ArrowKeyFocusManager.js @@ -37,10 +37,14 @@ class ArrowKeyFocusManager extends Component {
return;
}
- let newFocusedIndex = this.props.focusedIndex > 0 ? this.props.focusedIndex - 1 : this.props.maxIndex;
+ const currentFocusedIndex = this.props.focu... | 9 |
diff --git a/pages/community/user-groups.md b/pages/community/user-groups.md * [RheinMain Kotlin](http://kotlin.rocks), Germany
* [Serbia Kotlin User Group](https://www.meetup.com/Serbia-Kotlin-User-Group/), Serbia
* [Vienna Kotlin](https://www.meetup.com/Kotlin-Vienna/), Austria
- * [Warsaw Kotlin User Group](https://... | 10 |
diff --git a/src/server/routes/forgot-password.js b/src/server/routes/forgot-password.js @@ -22,7 +22,7 @@ module.exports = function(crowi, app) {
return mailService.send({
to: email,
- subject: 'forgotPasswordMailTest',
+ subject: 'Password Reset',
template: path.join(crowi.localeDir, `${i18n}/notifications/passwordRe... | 10 |
diff --git a/web/kiri/manifest.json b/web/kiri/manifest.json {
"name": "Kiri:Moto 3.5",
- "short_name": "KiriMoto",
+ "short_name": "Kiri:Moto",
"description": "Slicer for 3D printers, CNC mills, laser cutters and more",
"start_url": "/kiri/",
"id": "/kiri/",
| 3 |
diff --git a/package-lock.json b/package-lock.json {
"name": "orbit-db",
- "version": "0.20.0-rc.7",
+ "version": "0.20.0-rc8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
}
},
"orbit-db-counterstore": {
- "version": "1.5.0-rc.2",
- "resolved": "https://registry.npmjs.org/orbit-db-counterstore/-/orbit-db-... | 4 |
diff --git a/src/og/scene/Planet.js b/src/og/scene/Planet.js @@ -1124,10 +1124,10 @@ export class Planet extends RenderNode {
gl.disable(gl.POLYGON_OFFSET_FILL);
if (frustumIndex === cam.FARTHEST_FRUSTUM_INDEX) {
- if (this._skipPreRender && (!this._renderCompletedActivated || cam.isMoved)) {
+ //if (this._skipPreRende... | 2 |
diff --git a/packages/vulcan-forms/lib/components/FormComponent.jsx b/packages/vulcan-forms/lib/components/FormComponent.jsx @@ -7,7 +7,7 @@ import merge from 'lodash/merge';
import find from 'lodash/find';
import isObjectLike from 'lodash/isObjectLike';
import isEqual from 'lodash/isEqual';
-import { isEmptyValue } fr... | 11 |
diff --git a/src/components/Feeds/ResourceFeed.js b/src/components/Feeds/ResourceFeed.js @@ -33,13 +33,13 @@ const ResourceFeed = data => {
const renderResults = () => {
return orgs.length > 0 ? (
<Box as="pre" whiteSpace="break-spaces">
- {orgs.map(business => (
+ {orgs.map(org => (
<ResultCard
- name={business.data.E... | 10 |
diff --git a/token-metadata/0xa9fBB83a2689F4fF86339a4b96874d718673b627/metadata.json b/token-metadata/0xa9fBB83a2689F4fF86339a4b96874d718673b627/metadata.json "symbol": "ANTS",
"address": "0xa9fBB83a2689F4fF86339a4b96874d718673b627",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/tests/phpunit/integration/Core/Modules/ModulesTest.php b/tests/phpunit/integration/Core/Modules/ModulesTest.php @@ -47,7 +47,7 @@ class ModulesTest extends TestCase {
$modules->get_available_modules()
);
- $this->assertSameSetsWithIndex(
+ $this->assertEqualSetsWithIndex(
array(
'adsense' => 'Google\\Site_... | 14 |
diff --git a/package-lock.json b/package-lock.json "optional": true
},
"nats": {
- "version": "2.8.0",
- "resolved": "https://registry.npmjs.org/nats/-/nats-2.8.0.tgz",
- "integrity": "sha512-FabrmbDYGH8x8iajdFqhr3RptxJ4qlK1uKuqaHf8EUNY3Zr8DtRw2naiJsIzex27GnSs0UqQG/upPU9Yh66zlA==",
+ "version": "2.7.1",
+ "resolved": "... | 13 |
diff --git a/src/checkHeaders.js b/src/checkHeaders.js @@ -44,9 +44,16 @@ async function checkAppId(ctx, next) {
return cors({
credentials: true,
- // cors can skip processing only when origin is function @@
- // if we don't pass function here, cors() will stop nothing.
- origin: () => origin,
+ origin: ctx => {
+ cons... | 11 |
diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Base.php b/src/Appwrite/Utopia/Database/Validator/Queries/Base.php namespace Appwrite\Utopia\Database\Validator\Queries;
-use Appwrite\Utopia\Database\Validator\IndexedQueries;
+use Appwrite\Utopia\Database\Validator\Queries;
use Appwrite\Utopia\Database\Valid... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -721,16 +721,68 @@ var $$IMU_EXPORT$$;
console_log("do_request", deepcopy(data));
}
- var orig_data = deepcopy(data);
-
- if (!data.onerror)
- data.onerror = data.onload;
-
// For cross-origin cookies
if (!("withCredentials" in data)) {
data.withCredentials = true... | 7 |
diff --git a/contracts/test/vault.js b/contracts/test/vault.js @@ -22,14 +22,26 @@ describe("Vault", function () {
this.timeout(0);
}
- it("Should support an asset");
+ it("Should support an asset", async () => {
+ const { vault, ousd, governor } = await loadFixture(defaultFixture);
+ await expect(
+ vault.connect(gove... | 7 |
diff --git a/angular/projects/spark-angular/src/lib/directives/inputs/sprk-label/sprk-label.directive.ts b/angular/projects/spark-angular/src/lib/directives/inputs/sprk-label/sprk-label.directive.ts -import { Directive, ElementRef, OnInit, Input } from '@angular/core';
+import { Directive, ElementRef, OnInit, Input, Re... | 3 |
diff --git a/articles/best-practices/testing.md b/articles/best-practices/testing.md ---
-title: Testing Best Practices
+title: Testing Best Practices for Rules
description: Learn about best practices for testing.
topics:
- best-practices
@@ -16,7 +16,8 @@ useCase:
- database-action-scripts
- rules
---
-# Testing
+
+# ... | 10 |
diff --git a/assets/js/googlesitekit/widgets/util/get-widget-component-props.js b/assets/js/googlesitekit/widgets/util/get-widget-component-props.js @@ -27,7 +27,6 @@ import memize from 'memize';
import Widget from '../components/Widget';
import WidgetReportZero from '../components/WidgetReportZero';
import WidgetRepor... | 2 |
diff --git a/src/css/docs/components/docs-markdown.css b/src/css/docs/components/docs-markdown.css @@ -357,6 +357,15 @@ p.DocsMarkdown--small-header {
padding: 0 2px;
}
+code .DocsMarkdown--prop-meta {
+ font-family: var(--sans-serif-font-family);
+ font-size: .8125em;
+ margin-left: .4375em;
+ -webkit-user-select: non... | 7 |
diff --git a/components/search/filter-sidebar.js b/components/search/filter-sidebar.js @@ -162,7 +162,7 @@ class FilterSidebar extends React.Component {
onDateChangeFilter (filterName) {
return ((date) => {
- if (moment(new Date(date)).isValid()) {
+ if (moment(new Date(date)).isValid() || date === '') {
const newDate ... | 11 |
diff --git a/new-client/src/components/App.js b/new-client/src/components/App.js @@ -11,8 +11,8 @@ import CookieNotice from "./CookieNotice";
import Introduction from "./Introduction";
import Alert from "./Alert";
import PluginWindows from "./PluginWindows";
-// Temporarily commended out the new plugin as I focus on re... | 14 |
diff --git a/generators/app/index.js b/generators/app/index.js @@ -307,6 +307,12 @@ module.exports = class extends BaseGenerator {
this.clientPackageManager = 'yarn';
}
}
+ // Set embeddableLaunchScript to true if not defined, for backward compatibility
+ // See https://github.com/jhipster/generator-jhipster/issues/102... | 12 |
diff --git a/activities/Constellation.activity/js/activity.js b/activities/Constellation.activity/js/activity.js @@ -6,6 +6,16 @@ define(["sugar-web/activity/activity","sugar-web/env", "worldpalette", "viewpale
// Initialize the activity.
activity.setup();
+
+ //Set background color to user color
+ var canvas = documen... | 12 |
diff --git a/src/components/Callout.js b/src/components/Callout.js @@ -41,8 +41,7 @@ const Content = styled.div`
height: 100%;
`
-const Callout = ({ image, alt, title, description, children, className }) => {
- return (
+const Callout = ({ image, alt, title, description, children, className }) => (
<StyledCard classNam... | 7 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -25,7 +25,7 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [snowpack-template-preset-env](https://github.com/argyleink/snowpack-template-preset-env) (PostCSS + Babel)
- [11st-Starter-Kit](https:/... | 10 |
diff --git a/shared/js/ui/models/whitelist.es6.js b/shared/js/ui/models/whitelist.es6.js @@ -37,8 +37,9 @@ Whitelist.prototype = window.$.extend({},
// But first, strip the 'www.' part, otherwise getSubDomain will include it
// and whitelisting won't work for that site
url = url ? url.replace('www.', '') : ''
+ const l... | 11 |
diff --git a/packages/inertia-vue3/index.d.ts b/packages/inertia-vue3/index.d.ts -export { default as useForm } from "./useForm";
-export { default as useRemember } from "./useRemember";
-export { default as createInertiaApp } from "./createInertiaApp";
-export { default as Head, default as InertiaHead } from "./head";... | 13 |
diff --git a/stories/widgets.stories.js b/stories/widgets.stories.js @@ -43,9 +43,9 @@ const { HALF, QUARTER, FULL } = WIDGET_WIDTHS;
function BoxesWidgets( { children } ) {
return (
<Grid className="googlesitekit-widget-area googlesitekit-widget-area--boxes">
- <div className="googlesitekit-widget-area-widgets">
- <Ro... | 2 |
diff --git a/src/DOM.js b/src/DOM.js @@ -1976,12 +1976,12 @@ class HTMLIFrameElement extends HTMLSrcableElement {
cb(err);
})
});
- } else if (name === 'position' || name === 'rotation' || name === 'scale') {
+ } else if (name === 'position' || name === 'orientation' || name === 'scale') {
const v = _parseVector(value)... | 10 |
diff --git a/src/test/system_tests/test_ceph_s3.js b/src/test/system_tests/test_ceph_s3.js @@ -214,13 +214,9 @@ module.exports = {
};
function deploy_ceph() {
- var command = `chmod a+x ${CEPH_TEST.test_dir}${CEPH_TEST.ceph_deploy}`;
- return promise_utils.exec(command, false, true)
- .then(function(res) {
console.log(... | 2 |
diff --git a/src/plots/geo/geo.js b/src/plots/geo/geo.js @@ -506,7 +506,11 @@ proto.updateFx = function(fullLayout, geoLayout) {
}
bgRect.on('mousemove', function() {
- var lonlat = _this.projection.invert(d3.mouse(this));
+ var d3EventPosition = [
+ d3.event.offsetX,
+ d3.event.offsetY,
+ ];
+ var lonlat = _this.proje... | 14 |
diff --git a/articles/link-accounts/auth-api.md b/articles/link-accounts/auth-api.md @@ -4,7 +4,9 @@ description: How to link accounts using the Authentication API (Deprecated)
# Link Accounts using Authentication API (Deprecated)
-**NOTE:** This method of linking accounts using the linking endpoint of the [Authenticat... | 14 |
diff --git a/package.json b/package.json "docs-dev": "nuxt dev -c docs/nuxt.config.js",
"docs-gen": "nuxt generate -c docs/nuxt.config.js",
"docs-publish": "gh-pages -t -d docs-dist -b master -r git@github.com:bootstrap-vue/bootstrap-vue.github.io.git",
- "test": "yarn lint && jest",
+ "test": "yarn lint && NODE_ENV=te... | 4 |
diff --git a/bin/sync-version-numbers b/bin/sync-version-numbers @@ -31,5 +31,5 @@ fi
version_files="./examples/ README.md bin/upload-to-cdn.sh website/src/examples/ website/src/docs/ website/themes/uppy/layout/"
main_package_version=$(node -p "require('./packages/uppy/package.json').version")
-replace-x -r 'uppy/v\d+\... | 3 |
diff --git a/js/core/bis_fileserverclient.js b/js/core/bis_fileserverclient.js @@ -92,7 +92,7 @@ class BisFileServerClient extends BisBaseServerClient {
connectToServer(address = 'ws://localhost:'+wsUtilInitialPort) {
if (this.socket) {
console.log('closing connection connect to server');
- //this.closeConnection();
+ ... | 1 |
diff --git a/src/service_rebalancer.erl b/src/service_rebalancer.erl @@ -95,15 +95,14 @@ rebalance(Rebalancer, Service, Type,
AllNodes, KeepNodes, EjectNodes, DeltaNodes, ProgressCallback) ->
erlang:register(worker_name(Service), self()),
- ?log_debug("Rebalancing service ~p.~nKeepNodes: ~p~nEjectNodes: ~p~nDeltaNodes:... | 5 |
diff --git a/src/components/form/form.js b/src/components/form/form.js @@ -447,7 +447,7 @@ class Form extends React.Component {
checkIsFormDirty = () => {
let confirmationMessage = '';
- if (this.isDirty) {
+ if (this.state.isDirty) {
// Confirmation message is usually overridden by browsers with a similar message
conf... | 5 |
diff --git a/lib/https/index.js b/lib/https/index.js @@ -449,6 +449,20 @@ function resolveWebsocket(socket, wss) {
}
clearTimeout(timeout);
proxyUrl ? util.setClientId(headers, socket.enable, socket.disable, clientIp) : util.removeClientId(headers);
+ if (socket.disable.clientIp || socket.disable.clientIP) {
+ delete h... | 1 |
diff --git a/aura-impl/src/main/resources/aura/AuraEventService.js b/aura-impl/src/main/resources/aura/AuraEventService.js @@ -1059,7 +1059,7 @@ AuraEventService.prototype.addEventHandler=function(event,handler,phase,includeF
throw new Error("$A.addEventHandler: Unable to find current component target. Are you running ... | 11 |
diff --git a/generators/generator-base.js b/generators/generator-base.js @@ -2360,13 +2360,13 @@ templates: ${JSON.stringify(existingTemplates, null, 2)}`;
if (options.websocket) {
this.jhipsterConfig.websocket = options.websocket;
}
- if (options.jhiPrefix) {
+ if (options.jhiPrefix !== undefined) {
this.jhipsterConfi... | 11 |
diff --git a/articles/api-auth/index.html b/articles/api-auth/index.html @@ -123,6 +123,9 @@ title: API Authorization
<li>
<i class="icon icon-budicon-695"></i><a href="/api-auth/tutorials/password-grant">Executing the flow</a>
</li>
+ <li>
+ <i class="icon icon-budicon-695"></i><a href="/api-auth/tutorials/multifactor... | 0 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/red.js b/packages/node_modules/@node-red/editor-client/src/js/red.js @@ -366,7 +366,7 @@ var RED = (function() {
var parts = topic.split("/");
var node = RED.nodes.node(parts[1]);
if (node) {
- if (msg.hasOwnProperty("text") && /^[a-zA-Z]/.test(msg.text)... | 9 |
diff --git a/package.json b/package.json "prismarine-block": "^1.2.0",
"prismarine-chunk": "^1.15.0",
"prismarine-entity": "^0.2.0",
- "prismarine-item": "^1.1.0",
+ "prismarine-item": "^1.2.0",
"prismarine-recipe": "^1.0.1",
"prismarine-windows": "^1.1.1",
"protodef": "^1.6.7",
| 3 |
diff --git a/app/reducers/launchOnStartUp.js b/app/reducers/launchOnStartUp.js import { TOGGLE_LAUNCH_ON_START_UP, } from '../actions/actionTypes';
-const launchOnStartUp = (state = true, action) => {
+const launchOnStartUp = (state = false, action) => {
switch (action.type) {
case TOGGLE_LAUNCH_ON_START_UP:
return act... | 12 |
diff --git a/docs/release.md b/docs/release.md @@ -9,7 +9,7 @@ There are a few miscellaneous tasks to do before making a new release:
* Ensure the default network is correct in `app/config.toml`:
```toml
-default_network = "gaia-2"
+default_network = "gaia-5001"
```
* Ensure the network params you wish to use are in a ... | 3 |
diff --git a/Makefile b/Makefile @@ -16,7 +16,7 @@ help:
build:
@set -e
# Compile the scss file and generate the output css file
- ${NODE_BIN}/node-sass --include-path ./node_modules/ scss/siimple.scss dist/siimple.css
+ ${NODE_BIN}/sass scss/siimple.scss dist/siimple.css
# Add the header to the compiled css file
@node... | 14 |
diff --git a/src/processMessages.js b/src/processMessages.js @@ -37,7 +37,7 @@ export default async function processMessages(
// Search for articles
const { data: { SearchArticles } } = await gql`query($text: String!) {
- SearchArticles(text: $text, orderBy: [{_score: DESC}]) {
+ SearchArticles(text: $text, orderBy: [{... | 1 |
diff --git a/assets/js/googlesitekit/data/create-existing-tag-store.test.js b/assets/js/googlesitekit/data/create-existing-tag-store.test.js @@ -99,7 +99,7 @@ describe( 'createExistingTagStore store', () => {
} );
it( 'receives and sets value', () => {
- const existingTag = 'UA-12345678-1';
+ const existingTag = 'test-... | 14 |
diff --git a/components/Feed/StickySection.js b/components/Feed/StickySection.js @@ -46,7 +46,7 @@ class StickySection extends Component {
super(props)
this.state = {
sticky: false,
- isMobile: true,
+ isMedium: false,
isSmall: false,
width: 0,
height: 0
@@ -69,11 +69,11 @@ class StickySection extends Component {
}
thi... | 10 |
diff --git a/package.json b/package.json "unified": "^6.1.4"
},
"scripts": {
- "start-dev": "webpack-dev-server --config frontend_webpack.config.babel.js --watch --hot --content-base dist --history-api-fallback",
- "test": "gulp jasmine"
+ "start": "cp public/* dist/ && cp -R static dist/ && webpack-dev-server --config... | 7 |
diff --git a/src/govuk/components/all.test.js b/src/govuk/components/all.test.js @@ -38,25 +38,25 @@ it('_all.scss renders to CSS without errors', () => {
})
})
-it.each(allComponents)('%s.scss renders to CSS without errors', (component) => {
+describe.each(allComponents)('%s', (component) => {
+ it(`${component}.scss ... | 5 |
diff --git a/pages/app/ExploreDetail.js b/pages/app/ExploreDetail.js @@ -131,6 +131,7 @@ class ExploreDetail extends Page {
});
}
}
+
getDataset() {
this.setState({
loading: true
@@ -153,35 +154,17 @@ class ExploreDetail extends Page {
}
getSimilarDatasets() {
- this.setState({
- similarDatasetsLoaded: false
- });
- th... | 7 |
diff --git a/src/views/Account.vue b/src/views/Account.vue Send
</button>
</router-link>
- <router-link
- class="account-container_actions_button"
- active-class=""
- tag="button"
- :disabled="swapDisabled"
- :to="`/accounts/${accountId}/${asset}/swap`"
- >
+ <router-link :to="`/accounts/${accountId}/${asset}/swap`">
+... | 3 |
diff --git a/articles/clients/client-types.md b/articles/clients/client-types.md @@ -16,6 +16,33 @@ The OAuth 2.0 specification [defines two types of clients](https://tools.ietf.or
When creating a client through the [Dashboard](${manage_url}/#/clients), Auth0 will ask you what type of application you want the client to... | 0 |
diff --git a/definitions/npm/jquery_v3.x.x/flow_v0.28.x-/jquery_v3.x.x.js b/definitions/npm/jquery_v3.x.x/flow_v0.28.x-/jquery_v3.x.x.js @@ -107,7 +107,7 @@ declare interface JQueryAjaxSettings {
/**
* A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHt... | 1 |
diff --git a/test/jasmine/tests/pie_test.js b/test/jasmine/tests/pie_test.js @@ -494,11 +494,11 @@ describe('Pie traces', function() {
.then(function() {
var expWidths = ['3', '0', '0'];
- d3.selectAll(SLICES_SELECTOR).each(function(d) {
- expect(this.style.strokeWidth).toBe(expWidths[d.pointNumber]);
+ d3.selectAll(SL... | 0 |
diff --git a/api/lib/services/agent/agent.converse-call-webhook.service.js b/api/lib/services/agent/agent.converse-call-webhook.service.js @@ -26,10 +26,15 @@ module.exports = async function ({ url, templatePayload, payloadType, method, te
try {
const compiledUrl = handlebars.compile(url)(templateContext);
- let compil... | 11 |
diff --git a/yarn.lock b/yarn.lock @@ -5072,9 +5072,9 @@ mongodb@^2.2.31:
readable-stream "2.2.7"
mongodb@^3.0.1:
- version "3.6.0"
- resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.6.0.tgz#babd7172ec717e2ed3f85e079b3f1aa29dce4724"
- integrity sha512-/XWWub1mHZVoqEsUppE0GV7u9kanLvHxho6EvBxQbShXTKYF9trhZC2Nzb... | 13 |
diff --git a/sirepo/server.py b/sirepo/server.py @@ -246,7 +246,6 @@ def api_findByName(simulation_type, application_mode, simulation_name):
)
if len(rows) == 0:
for s in simulation_db.examples(sim_type):
- pkdp(s.models.simulation.name)
if s['models']['simulation']['name'] != simulation_name:
continue
simulation_db.sa... | 1 |
diff --git a/apps/terminalclock/app.js b/apps/terminalclock/app.js @@ -92,19 +92,19 @@ function draw(){
clearWatchIfNeeded(now); // mostly to not have issues when changing days
drawTime(now, curPos);
curPos++;
- if(settings.showDate == "Yes"){
+ if(settings.showDate){
drawDate(now, curPos);
curPos++;
}
- if(settings.sh... | 1 |
diff --git a/src/views/dashboard/style.js b/src/views/dashboard/style.js @@ -446,6 +446,7 @@ export const AttachmentsContainer = styled.div`
`;
export const ThreadMeta = styled.div`
+ align-self: stretch;
display: flex;
margin: 10px 16px 16px;
justify-content: space-between;
| 1 |
diff --git a/src/govuk/components/character-count/character-count.js b/src/govuk/components/character-count/character-count.js @@ -167,7 +167,7 @@ CharacterCount.prototype.updateVisibleCountMessage = function () {
}
// Update message
- $visibleCountMessage.innerHTML = this.formatUpdateMessage()
+ $visibleCountMessage.i... | 10 |
diff --git a/tools/local-network-setup/.dh_origintrail_noderc b/tools/local-network-setup/.dh_origintrail_noderc "blockchainTitle": "Polygon",
"networkId": "polygon::testnet",
"rpcEndpoints": [
- "wss://polygon-mumbai.g.alchemy.com/v2/q8PTkz1zFteWTuMLD3gQrPwPZjutgIKy"
+ "https://rpc-mumbai.maticvigil.com/",
+ "https://... | 3 |
diff --git a/package.json b/package.json "devDependencies": {
"@11ty/eleventy": "^0.9.0",
"@11ty/eleventy-plugin-inclusive-language": "^1.0.0",
- "@11ty/eleventy-plugin-rss": "^1.0.6",
+ "@11ty/eleventy-plugin-rss": "^1.0.7",
"@11ty/eleventy-plugin-syntaxhighlight": "2.0.3",
"avatar-local-cache": "^2.0.3",
"chalk": "^2... | 4 |
diff --git a/src/providers/storage/url.js b/src/providers/storage/url.js @@ -36,10 +36,12 @@ const url = function(formio) {
respData = {};
}
+ const url = respData.hasOwnProperty('url') ? respData.url : `${xhr.responseURL}/${fileName}`;
+
resolve({
storage: 'url',
name: fileName,
- url: `${xhr.responseURL}/${fileName}`... | 11 |
diff --git a/token-metadata/0x265Ba42daF2D20F3F358a7361D9f69Cb4E28F0E6/metadata.json b/token-metadata/0x265Ba42daF2D20F3F358a7361D9f69Cb4E28F0E6/metadata.json "symbol": "UBOMB",
"address": "0x265Ba42daF2D20F3F358a7361D9f69Cb4E28F0E6",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/test/sgfTests.js b/test/sgfTests.js @@ -128,12 +128,6 @@ describe('sgf', () => {
})
)
})
- it('should auto-detect GB2312 encoding if given enough data', () => {
- assert.equal(
- sgf.parse('(;GM[1]FF[4]SZ[19]PB[\xBD\xA3\xB9\xFD\xCE\xDE\xC9\xF9])')[0].nodes[0].PB[0], // GB2312
- sgf.parse('(;GM[1]FF[4]SZ[19... | 2 |
diff --git a/client/index.html b/client/index.html </ons-list-item>
<ons-list-item>
<div class="left">
- Sensor
+ Sensor cleaning
</div>
<div class="center" id="settings-consumables-status-sensor" style="margin-left:5%">
??? hours left
| 14 |
diff --git a/src/components/CartPopover/CartPopover.js b/src/components/CartPopover/CartPopover.js @@ -19,29 +19,41 @@ import Link from "components/Link";
const styles = (theme) => ({
container: {
- display: "flex",
alignItems: "center",
- width: "100%",
+ boxShadow: `-5px 10px 20px ${theme.palette.reaction.black50}`,
... | 3 |
diff --git a/src/kiri/init.js b/src/kiri/init.js dproc = current.devproc[devicename],
dev = current.device = CONF.device_from_code(code,mode),
proc = current.process,
- newdev = dproc === undefined;
+ newdev = dproc === undefined, // first time device is selected
+ predev = current.filter[mode], // previous device sele... | 3 |
diff --git a/logs/events.go b/logs/events.go @@ -58,7 +58,7 @@ var cmds = []commandsystem.CommandHandler{
}
}
- l, err := CreateChannelLog(cmd.Channel.ID(), cmd.Message.Author.ID, cmd.Message.Author.Username, num)
+ l, err := CreateChannelLog(cmd.Channel.ID(), cmd.Message.Author.Username, cmd.Message.Author.ID, num)
if... | 1 |
diff --git a/api-spec.md b/api-spec.md @@ -85,7 +85,7 @@ The core OGC API - Features endpoints are shown below, with details provided in
| ----------------------------------------------- | -------------- | ----------- |
| `/` | JSON | Landing page, links to API capabilities |
| `/conformance` | JSON | Info about standa... | 1 |
diff --git a/src/plots/cartesian/axes.js b/src/plots/cartesian/axes.js @@ -1280,21 +1280,6 @@ function roundDTick(roughDTick, base, roundingSet) {
// log showing powers plus some intermediates:
// D1 shows all digits, D2 shows 2 and 5
axes.autoTicks = function(ax, roughDTick, isMinor) {
- var majorDtick = ax._majorDtic... | 13 |
diff --git a/server/game/costs.js b/server/game/costs.js @@ -545,13 +545,14 @@ const Costs = {
}
};
},
- breakProvince: function(card) {
+ breakProvince: function(province) {
return {
canPay: function() {
- return !card.isBroken;
+ return !province.isBroken;
},
- pay: function() {
- card.breakProvince();
+ pay: functio... | 3 |
diff --git a/src/og/webgl/Handler.js b/src/og/webgl/Handler.js @@ -325,7 +325,11 @@ class Handler {
var texture = gl.createTexture();
gl.bindTexture(gl.TEXTURE_2D, texture);
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false);
- gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image);
+
+ //gl.texImage2D(g... | 0 |
diff --git a/src/components/graph/drawGraph.js b/src/components/graph/drawGraph.js @@ -6,12 +6,12 @@ const margin = {top: 20, right: 10, bottom: 30, left: 40},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
-const MAGIC_CONSTANT_UNTIL_WE_NORMALIZE = 3; /* should be zero to one but ... | 12 |
diff --git a/articles/connections/apple-siwa/set-up-apple.md b/articles/connections/apple-siwa/set-up-apple.md @@ -65,54 +65,6 @@ A paid [Apple Developer](https://developer.apple.com/programs/) account.
4. Click **Save**, **Continue**, and then click **Register**.
-### Verify domain with Apple
-
-1. On the **Certificat... | 2 |
diff --git a/src/reducers/likelyTokens/index.js b/src/reducers/likelyTokens/index.js @@ -27,6 +27,19 @@ const tokensReducer = handleActions({
...payload
}
}),
+ [tokens.getMetadata]: (state, { ready, error, payload, meta }) =>
+ (!ready || error)
+ ? state
+ : ({
+ ...state,
+ tokens: {
+ ...state.tokens,
+ [payload.co... | 9 |
diff --git a/src/components/lights/SpotLight.js b/src/components/lights/SpotLight.js @@ -2,6 +2,19 @@ import {SpotLight as SpotLightNative, SpotLightHelper} from 'three';
import {LightComponent} from '../../core/LightComponent';
class SpotLight extends LightComponent {
+ static defaults = {
+ ...LightComponent.defaults... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,18 @@ 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.44.3] -- 2019-02-06
+
+### Fixed
+- Fix axis `automargin` push offset which resulted in clipped
+ tick labels in some scenarios [#351... | 3 |
diff --git a/test/unit/specs/components/Personalization/helper/dom/createFragment.spec.js b/test/unit/specs/components/Personalization/helper/dom/createFragment.spec.js @@ -10,7 +10,6 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the Lice... | 2 |
diff --git a/test/unit/registration.test.js b/test/unit/registration.test.js @@ -84,8 +84,7 @@ describe('getRegistration', function() {
}
})
- describe('Errors', function() {
- it('uses the command name when it can', function() {
+ it('includes the command name in the error message when a handler is undefined', functio... | 1 |
diff --git a/apps.json b/apps.json },
{
"id": "launch",
- "name": "Launcher (Default)",
+ "name": "Launcher (Bangle.js 1 default)",
"shortName": "Launcher",
"version": "0.07",
- "description": "This is needed by Bangle.js to display a menu allowing you to choose your own applications. You can replace this with a custom... | 10 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -36,9 +36,9 @@ jobs:
services/communication-router:
<<: *common_environment
working_directory: ~/oih/services/communication-router
- services/flows-operator:
+ services/resource-coordinator:
<<: *common_environment
- working_directory: ~/oih/services/flows-ope... | 10 |
diff --git a/lib/assets/javascripts/cartodb/common/public_footer_view.js b/lib/assets/javascripts/cartodb/common/public_footer_view.js @@ -7,8 +7,8 @@ module.exports = cdb.core.View.extend({
this._initModels();
this.template = this.isHosted
- ? cdb.templates.getTemplate('public/views/public_footer')
- : cdb.templates.g... | 1 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -323,6 +323,12 @@ metaversefile.setApi({
},
};
},
+ createAvatar(o, options) {
+ return new Avatar(o, options);
+ },
+ useAvatarAnimations() {
+ return Avatar.getAnimations();
+ },
useFrame(fn) {
const app = currentAppRender;
if (app) {
| 0 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -1674,6 +1674,13 @@ const weaponsManager = {
(async () => {
if (selectedLoadoutObject) {
+ for (let i = 0; i < appManager.grabbedObjects.length; i++) {
+ if (appManager.grabbedObjects[i] === selectedLoadoutObject) {
+ appManager.grabbedObjects[i] = null;
+ appMana... | 0 |
diff --git a/javascript/lifecycle.js b/javascript/lifecycle.js @@ -127,6 +127,7 @@ document.addEventListener(
export const dispatchLifecycleEvent = (stage, element, reflexId) => {
if (!element) return
if (!element.reflexData) element.reflexData = {}
+ if (!element.reflexController) element.reflexController = {}
const {... | 12 |
diff --git a/sparta_constants.go b/sparta_constants.go @@ -86,6 +86,8 @@ const (
KinesisFirehosePrincipal = "firehose.amazonaws.com"
// @enum EventBridgePrincipal
EventBridgePrincipal = "events.amazonaws.com"
+ // @enum StepMachinePrincipal
+ StepMachinePrincipal = "states.amazonaws.com"
)
type contextKey int
| 0 |
diff --git a/engine/modules/entities/src/main/resources/view/entity-module/BitmapText.js b/engine/modules/entities/src/main/resources/view/entity-module/BitmapText.js @@ -17,20 +17,20 @@ export class BitmapText extends Entity {
blendMode: PIXI.BLEND_MODES.NORMAL,
tint: 0xFFFFFF
})
+ this.missingFonts = {}
}
initDisplay... | 1 |
diff --git a/package.json b/package.json "sass": "cpx \"./source/themes/**/*\" ./lib/themes",
"storybook": "start-storybook -p 6543 -c storybook",
"watch": "nodemon npm run js && npm run sass",
- "test": "jest --no-cache",
+ "test": "jest",
"test:clean": "jest --no-cache -u",
"test:watch": "jest --no-cache --watchAll",... | 12 |
diff --git a/core/api-server/lib/examples/algorithms.json b/core/api-server/lib/examples/algorithms.json {
"name": "green-alg",
"algorithmImage": "hkube/algorithm-example",
- "cpu": 7,
- "mem": 2048
+ "cpu": 2,
+ "mem": 1024
},
{
"name": "yellow-alg",
| 3 |
diff --git a/assets/js/modules/analytics/datastore/settings.js b/assets/js/modules/analytics/datastore/settings.js @@ -98,9 +98,6 @@ export async function submitChanges( { select, dispatch } ) {
// TODO: Remove once legacy dataAPI is no longer used.
invalidateCacheGroup( TYPE_MODULES, 'analytics' );
- // Try to save GA... | 2 |
diff --git a/includes/Core/Util/Tracking.php b/includes/Core/Util/Tracking.php @@ -85,7 +85,7 @@ final class Tracking {
add_filter(
'googlesitekit_inline_base_data',
function ( $data ) {
- return $this->inline_js_admin_data( $data );
+ return $this->inline_js_base_data( $data );
}
);
@@ -110,14 +110,14 @@ final class T... | 10 |
diff --git a/README.md b/README.md @@ -17,6 +17,14 @@ npm install
npm run build
```
+If you are looking for a .zip version of the plugin to install on your site use this link:
+
+https://sitekit.withgoogle.com/service/download/google-site-kit.zip
+
+The .zip link was obtained from this blog post:
+
+https://sitekit.wit... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.