code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/assets/js/components/notifications/EnableAutoUpdateBannerNotification/index.test.js b/assets/js/components/notifications/EnableAutoUpdateBannerNotification/index.test.js @@ -28,7 +28,6 @@ import {
fireEvent,
provideUserCapabilities,
provideSiteInfo,
- freezeFetch,
} from '../../../../../tests/js/test-utils... | 2 |
diff --git a/api/ubiquity/services/twilio/index.js b/api/ubiquity/services/twilio/index.js @@ -59,11 +59,12 @@ module.exports = {
//This causes validation to fail. For now forcing https.
//console.log(request.connection.info)
//Validate Request
- const url = 'https://'
- + request.info.host
- + request.url.path;
- cons... | 11 |
diff --git a/test/unit/message-manager-test.js b/test/unit/message-manager-test.js const assert = require('assert')
const MessageManger = require('../../app/scripts/lib/message-manager')
-describe('Transaction Manager', function () {
+describe('Message Manager', function () {
let messageManager
beforeEach(function () {... | 10 |
diff --git a/Specs/Scene/B3dmParserSpec.js b/Specs/Scene/B3dmParserSpec.js @@ -50,7 +50,7 @@ describe("Scene/B3dmParser", function () {
it("throws on invalid byteOffset", function () {
expect(function () {
B3dmParser.parse(new ArrayBuffer(1), "a");
- }).toThrowRuntimeError();
+ }).toThrowDeveloperError();
expect(functi... | 1 |
diff --git a/OurUmbraco/Repository/Services/PackageRepositoryService.cs b/OurUmbraco/Repository/Services/PackageRepositoryService.cs @@ -156,7 +156,7 @@ namespace OurUmbraco.Repository.Services
/// </returns>
public PackageDetails GetDetails(Guid id, System.Version version)
{
- if (version == null) throw new ArgumentNu... | 2 |
diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js @@ -251,7 +251,7 @@ function createSplitsAndOnyxData(participants, currentUserLogin, amount, comment
? chatReports[`${ONYXKEYS.COLLECTION.REPORT}${existingGroupChatReportID}`]
: ReportUtils.getChatByParticipants(participantLogins);
const groupChatReport = e... | 10 |
diff --git a/assets/js/modules/adsense/components/module/ModuleTopEarningPagesWidget/Table.js b/assets/js/modules/adsense/components/module/ModuleTopEarningPagesWidget/Table.js @@ -32,7 +32,7 @@ import Data from 'googlesitekit-data';
import ReportTable from '../../../../../components/ReportTable';
import TableOverflowC... | 10 |
diff --git a/lore-ai.js b/lore-ai.js @@ -348,9 +348,7 @@ class LoreAI {
const query = {};
query.prompt = prompt;
query.max_tokens = max_tokens;
- if (typeof end !== 'undefined') {
query.stop = stop;
- }
if (typeof temperature === 'number') {
query.temperature = temperature;
}
| 0 |
diff --git a/scripts/pkg/config.js b/scripts/pkg/config.js @@ -11,6 +11,8 @@ module.exports = {
'../../lib/plugins/aws/package/lib/*.json',
// Service templates
'../../lib/plugins/create/templates',
+ // Dashboard policies
+ '../../node_modules/@serverless/enterprise-plugin/lib/safeguards/policies',
// Dashboard wrappe... | 1 |
diff --git a/src/pages/ReportSettingsPage.js b/src/pages/ReportSettingsPage.js @@ -115,20 +115,10 @@ class ReportSettingsPage extends Component {
errors: {},
};
- this.setRoomNameInputRef = this.setRoomNameInputRef.bind(this);
this.resetToPreviousName = this.resetToPreviousName.bind(this);
this.validateAndUpdatePolicyR... | 12 |
diff --git a/README.md b/README.md @@ -109,7 +109,7 @@ When picking a name for your custom element [there are a few naming conventions]
`<hello-world>` has one **live `{token}`** named `{planet}` and a global event handler named `onclick`.
-### `Element` definition
+### `Element` Definition
```javascript
Element `hello... | 3 |
diff --git a/packages/app/src/services/renderer/renderer.tsx b/packages/app/src/services/renderer/renderer.tsx @@ -246,7 +246,7 @@ const commonSanitizeOption: SanitizeOption = deepmerge(
sanitizeDefaultSchema,
{
attributes: {
- '*': ['class', 'className'],
+ '*': ['class', 'className', 'style'],
},
},
);
| 11 |
diff --git a/apps/circlesclock/app.js b/apps/circlesclock/app.js @@ -97,8 +97,9 @@ const circlePosX = [
Math.round(7 * w / parts), // circle4
];
-const radiusOuter = circleCount == 3 ? 25 : 20;
+const radiusOuter = circleCount == 3 ? 25 : 19;
const radiusInner = circleCount == 3 ? 20 : 15;
+const circleFontSmall = circ... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -106,6 +106,28 @@ jobs:
yarn ganache > /dev/null &
cd source/delegate-factory && yarn test
+ order_utils_tests:
+ <<: *container_config
+ steps:
+ - attach_workspace:
+ at: *working_directory
+ - run:
+ name: Run Tests
+ command: |
+ yarn ganache > /dev/null &... | 3 |
diff --git a/docs/_about/quickstart.md b/docs/_about/quickstart.md @@ -32,23 +32,31 @@ content_markdown: |-
Example with Node.js: suppose we have a file `make-request.js` with a function that calls `fetch`:
```js
+ require('isomorphic-fetch');
module.exports = function makeRequest() {
- return fetch('http://httpbin.org... | 7 |
diff --git a/package.json b/package.json "Graphics",
"Canvas"
],
- "homepage": "https://1stop-st.github.io/vue-gl/",
+ "homepage": "https://vue-gl.github.io/vue-gl/",
"repository": {
"type": "git",
- "url": "https://github.com/1stop-st/vue-gl.git"
+ "url": "https://github.com/vue-gl/vue-gl.git"
},
"bugs": {
- "url": "h... | 5 |
diff --git a/devices/namron.js b/devices/namron.js @@ -17,7 +17,6 @@ module.exports = [
model: '4512700',
vendor: 'Namron',
description: 'ZigBee dimmer 400W',
- whiteLabel: [{vendor: 'Sunricher', model: 'SR-ZG9101SAC-HP'}],
extend: extend.light_onoff_brightness({noConfigure: true}),
configure: async (device, coordinato... | 13 |
diff --git a/packages/spark/components/_masthead.scss b/packages/spark/components/_masthead.scss border-bottom: $sprk-masthead-border-bottom-wide;
}
}
+.sprk-c-Masthead__nav-item {
+ display: flex;
+ justify-content: flex-end;
+}
// Hide menu element and additional nav link on larger views
.sprk-c-Masthead__menu,
}
}
-... | 3 |
diff --git a/README.md b/README.md @@ -653,7 +653,7 @@ Use the `url` method with an `img` element in your markup:
Notes:
* `{{this.url}}` will assume the first store in your `stores` array. In this example, we're displaying the image from the "thumbs" store but wrapping it in a link that will load the image from the pr... | 1 |
diff --git a/src/components/_classes/component/Component.js b/src/components/_classes/component/Component.js @@ -615,11 +615,13 @@ export default class Component extends Element {
}
get labelWidth() {
- return this.component.labelWidth || 30;
+ const width = this.component.labelWidth;
+ return width >= 0 ? width : 30;
... | 11 |
diff --git a/js/templates/userPage/categoryFilter.html b/js/templates/userPage/categoryFilter.html <%
ob.categories.slice(0, ob.maxInitiallyVisibleCats - 1).forEach((cat, index) => {
+ valueCat = cat.replace(/&/g, "&");
var flatCat = cat.replace(/\s/g, '-'); // remove spaces
%>
<div class="btnRadio">
<input type="r... | 9 |
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -126,6 +126,80 @@ final class Analytics extends Module
},
0
);
+
+ add_action(
+ 'admin_init',
+ function() {
+ $this->handle_provisioning_callback();
+ }
+ );
+ }
+
+ /**
+ * Handles the provisioning callback after the user completes the t... | 9 |
diff --git a/src/js/services/rateService.js b/src/js/services/rateService.js @@ -12,6 +12,8 @@ angular.module('canoeApp.services')
var root = {}
+ root.rates = null
+
root.updateRates = function (rates) {
root.alternatives = []
root.rates = rates
@@ -37,14 +39,19 @@ angular.module('canoeApp.services')
root.getRate = fu... | 9 |
diff --git a/token-metadata/0x062f90480551379791FBe2ED74C1fe69821b30d3/metadata.json b/token-metadata/0x062f90480551379791FBe2ED74C1fe69821b30d3/metadata.json "symbol": "YMAX",
"address": "0x062f90480551379791FBe2ED74C1fe69821b30d3",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/tests/Unit/CrudPanel/CrudPanelTest.php b/tests/Unit/CrudPanel/CrudPanelTest.php @@ -46,13 +46,17 @@ class CrudPanelTest extends BaseCrudPanelTest
public function testSync()
{
- // TODO: find out what sync method does
$this->markTestIncomplete();
+
+ // TODO: the sync method should not be in the CrudPanel c... | 3 |
diff --git a/site/rabbit.ent b/site/rabbit.ent @@ -21,7 +21,7 @@ limitations under the License.
<!ENTITY version-server-series "v3.7.x">
<!ENTITY version-erlang-client "3.7.3">
<!ENTITY version-server-tag "v3.7.3">
-<!ENTITY standalone-otp-version "20.1">
+<!ENTITY standalone-otp-version "20.2.3">
<!ENTITY serverDebMin... | 12 |
diff --git a/src/components/ThumbnailImage.js b/src/components/ThumbnailImage.js @@ -53,9 +53,10 @@ class ThumbnailImage extends PureComponent {
* @param {Number} height - Height of the original image.
* @returns {Object} - Object containing thumbnails width and height.
*/
-
calculateThumbnailImageSize(width, height) {... | 9 |
diff --git a/lib/plugins/package/lib/validate.test.js b/lib/plugins/package/lib/validate.test.js @@ -19,6 +19,7 @@ describe('#validate()', () => {
});
it('should resolve if servicePath is given', (done) => {
+ packageService.serverless.config.servicePath = true;
packageService.validate().then(() => done());
});
});
| 1 |
diff --git a/test/v3/response.test.js b/test/v3/response.test.js @@ -77,25 +77,25 @@ describe('v3/response', () => {
it('valid code and content type omitted', () => {
const req = request({});
- const res = instance.response(req, 200, { date: new Date(d) });
+ const res = instance.response(req).serialize(200, { date: ne... | 3 |
diff --git a/kitty-items-js/README.md b/kitty-items-js/README.md @@ -7,7 +7,7 @@ This API currently supports:
- Minting Kitty Items (non-fungible token)
- Creating Sale Offers for Kitty Items
-### Setup / Running the API
+## Setup / Running the API
- Install npm dependencies:
@@ -34,8 +34,9 @@ npm run start:dev
```
Not... | 0 |
diff --git a/assets/js/modules/adsense/components/settings/SettingsView.js b/assets/js/modules/adsense/components/settings/SettingsView.js @@ -121,7 +121,7 @@ export default function SettingsView() {
}
let autoAdsDisabledMessage = __(
- 'Ads are currently displayed for all visitors.',
+ 'Ads are currently displayed for... | 2 |
diff --git a/blocks/init/src/Blocks/components/button/manifest.json b/blocks/init/src/Blocks/components/button/manifest.json "buttonWidth": {
"default": [
{
- "inverse": true,
"variable": {
"button-display": "inline-flex",
- "aaa": "aaa"
- }
- },
- {
- "inverse": true,
- "breakpoint": "tablet",
- "variable": {
- "butto... | 13 |
diff --git a/lib/xlsx/xform/sheet/cell-xform.js b/lib/xlsx/xform/sheet/cell-xform.js @@ -65,6 +65,7 @@ class CellXform extends BaseXform {
switch (model.type) {
case Enums.ValueType.String:
+ case Enums.ValueType.RichText:
if (options.sharedStrings) {
model.ssId = options.sharedStrings.add(model.value);
}
@@ -225,6 +22... | 9 |
diff --git a/contracts/HavvenEscrow.sol b/contracts/HavvenEscrow.sol @@ -41,6 +41,20 @@ contract HavvenEscrow is Owned, SafeDecimalMath {
return nomin.balanceOf(this);
}
+ function setHavven(Havven newHavven)
+ public
+ onlyOwner
+ {
+ havven = newHavven;
+ }
+
+ function setNomin(EtherNomin newNomin)
+ public
+ onlyOw... | 12 |
diff --git a/packages/component-library/stories/lineChart.notes.md b/packages/component-library/stories/lineChart.notes.md @@ -20,9 +20,11 @@ These properties can be set in the Standard story:
## Custom
-The Custom story shows all possible properties that can be passed to the LineChart component for customization. An a... | 3 |
diff --git a/packages/node_modules/@node-red/runtime/lib/nodes/context/index.js b/packages/node_modules/@node-red/runtime/lib/nodes/context/index.js @@ -210,12 +210,26 @@ function createContext(id,seed) {
insertSeedValues = function(keys,values) {
if (!Array.isArray(keys)) {
if (values[0] === undefined) {
+ try {
value... | 9 |
diff --git a/src/server/routes/login-passport.js b/src/server/routes/login-passport.js @@ -321,7 +321,7 @@ module.exports = function(crowi, app) {
passport.authenticate('saml')(req, res);
};
- const loginPassportSamlCallback = async(req, res, next) => {
+ const loginPassportSamlCallback = async(req, res) => {
const pro... | 9 |
diff --git a/lib/node_modules/@stdlib/array/complex64/lib/main.js b/lib/node_modules/@stdlib/array/complex64/lib/main.js @@ -810,14 +810,14 @@ Object.defineProperty( Complex64Array.prototype, 'length', {
*
* ## Notes
*
-* - When provided a typed array, real or complex, we must check whether the source array shares the ... | 4 |
diff --git a/src/components/Icon/BankIcons.js b/src/components/Icon/BankIcons.js @@ -123,8 +123,8 @@ export default function getBankIcon(bankName, isCard) {
bankIcon.icon = getAssetIcon(bankName.toLowerCase(), isCard);
}
- // For default icon & expensify (for now) the icon size should not be set.
- if (![Expensify, Cre... | 11 |
diff --git a/package.json b/package.json },
"dependencies": {
"@11ty/dependency-tree": "^2.0.0",
- "@11ty/eleventy-dev-server": "^1.0.0-canary.1",
+ "@11ty/eleventy-dev-server": "^1.0.0-canary.2",
"@11ty/eleventy-utils": "^1.0.0",
"@iarna/toml": "^2.2.5",
"@sindresorhus/slugify": "^1.1.2",
| 3 |
diff --git a/api/server/package.json b/api/server/package.json "start": "npm run build && node ./dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
- "author": "Sacha Bron",
+ "author": "AXA rev",
"license": "ISC",
"dependencies": {
"@types/multer": "^1.3.7",
| 2 |
diff --git a/packages/inertia/src/types.ts b/packages/inertia/src/types.ts @@ -3,7 +3,7 @@ import { CancelTokenSource } from 'axios'
export type Errors = Record<string, string>
export type ErrorBag = Record<string, Errors>
-export type FormDataConvertible = Date|File|Blob|boolean|string|number|null|undefined
+export ty... | 11 |
diff --git a/edit.js b/edit.js @@ -1807,6 +1807,7 @@ function animate(timestamp, frame) {
if (isFinite(d)) {
cubeMesh.position.copy(localVector3)
.add(localVector4.set(-width/2 + 0.5/10*width + x/10*width, -height/2 + 0.5/10*height + y/10*height, -d).applyQuaternion(localQuaternion2));
+ cubeMesh.quaternion.setFromUnit... | 0 |
diff --git a/Calculus.js b/Calculus.js */
if((typeof module) !== 'undefined' && typeof nerdamer === 'undefined') {
- nerdamer = require('./nerdamer.core.js');
+ var nerdamer = require('./nerdamer.core.js');
require('./Algebra.js');
}
| 0 |
diff --git a/runtime.js b/runtime.js @@ -856,7 +856,7 @@ const _loadWebBundle = async (file, {instanceId = null, monetizationPointer = nu
monetizationPointer,
});
};
-const _loadScn = async (file, opts) => {
+const _loadScene = async (file, {files = null}) => {
let srcUrl = file.url || URL.createObjectURL(file);
const ... | 10 |
diff --git a/edit.js b/edit.js @@ -774,6 +774,9 @@ let buildMode = null;
let platformMesh = null;
let stairsMesh = null;
let wallMesh = null;
+let woodMesh = null;
+let stoneMesh = null;
+let metalMesh = null;
(async () => {
const buildModels = await _loadGltf('./build.glb');
stairsMesh = buildModels.children.find(c =>... | 0 |
diff --git a/plugins/continuous-toolbox/src/ContinuousFlyout.js b/plugins/continuous-toolbox/src/ContinuousFlyout.js @@ -51,6 +51,12 @@ export class ContinuousFlyout extends Blockly.VerticalFlyout {
this.workspace_.setMetricsManager(
new ContinuousFlyoutMetrics(this.workspace_, this));
+ this.workspace_.addChangeListen... | 1 |
diff --git a/instancing.js b/instancing.js @@ -5,6 +5,9 @@ import {getRenderer} from './renderer.js';
const localVector2D = new THREE.Vector2();
const localVector2D2 = new THREE.Vector2();
+const localMatrix = new THREE.Matrix4();
+const localSphere = new THREE.Sphere();
+const localFrustum = new THREE.Frustum();
const... | 0 |
diff --git a/style/monogatari.css b/style/monogatari.css @@ -104,12 +104,13 @@ section > div:not(.row) {
**/
#game {
- height: 100vh;
- max-height: 100vh;
- max-width: 100vw;
+ height: 100%;
+ max-height: 100%;
+ max-width: 100%;
overflow: hidden;
- width: 100vw;
+ width: 100%;
display: none;
+ position: relative;
}
#g... | 7 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -26,7 +26,6 @@ import {
import {FixedTimeStep} from '../interpolants.js';
import * as avatarCruncher from '../avatar-cruncher.js';
import * as avatarSpriter from '../avatar-spriter.js';
-import game from '../game.js';
import {
idleFactorSpeed,
walkFactorSpeed,
@@ ... | 2 |
diff --git a/packages/main/test/sap/ui/webcomponents/main/pages/MultiComboBox.html b/packages/main/test/sap/ui/webcomponents/main/pages/MultiComboBox.html </ui5-multi-combobox>
</div>
- <div class="demo-section" allow-custom-values>
+ <div class="demo-section">
<span>MultiComboBox n more</span> </br>
<ui5-multi-combobo... | 3 |
diff --git a/src/lib/Notification/PushNotification/index.native.js b/src/lib/Notification/PushNotification/index.native.js +import {AppState} from 'react-native';
import {UrbanAirship, EventType} from 'urbanairship-react-native';
import Ion from '../../Ion';
import IONKEYS from '../../../IONKEYS';
@@ -17,8 +18,13 @@ fu... | 8 |
diff --git a/package.json b/package.json "disc": "^1.3.3",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
- "es6-promise": "^4.2.5",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-preact": "^1.1.6",
| 2 |
diff --git a/src/traces/pie/plot.js b/src/traces/pie/plot.js @@ -239,18 +239,10 @@ function plot(gd, cdModule) {
transform = positionTitleOutside(cd0, gs);
}
- var scale = Math.min(1, transform.scale);
-
- if(scale) {
titleText.attr('transform',
strTranslate(transform.x, transform.y) +
- strScale(scale) +
+ strScale(Ma... | 13 |
diff --git a/token-metadata/0x26CE25148832C04f3d7F26F32478a9fe55197166/metadata.json b/token-metadata/0x26CE25148832C04f3d7F26F32478a9fe55197166/metadata.json "symbol": "DEXT",
"address": "0x26CE25148832C04f3d7F26F32478a9fe55197166",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/packages/fela-dom/src/dom/connection/insertRule.js b/packages/fela-dom/src/dom/connection/insertRule.js @@ -30,11 +30,9 @@ export default function insertRule(
if (score === 0) {
if (renderer.scoreIndex[nodeReference] === undefined) {
- renderer.scoreIndex[nodeReference] = 0
index = 0
} else {
- ++renderer.... | 12 |
diff --git a/test/backend/lib.process-manager.test.js b/test/backend/lib.process-manager.test.js @@ -38,14 +38,14 @@ var Report = require('../../models/report');
*/
describe('Process manager', function() {
before('Let API server start listening', function(done) {
- processManager.fork('../../lib/api');
+ processManager... | 14 |
diff --git a/quasar/src/components/table/QTable.json b/quasar/src/components/table/QTable.json "request": {
"desc": "Emitted when a server request is triggered",
"params": {
+ "requestProp": {
+ "type": "Object",
+ "desc": "Props of the request",
+ "definition": {
"pagination": {
"type": "Object",
"desc": "Pagination o... | 1 |
diff --git a/app/webpack.common.js b/app/webpack.common.js @@ -18,7 +18,8 @@ module.exports = {
new CleanWebpackPlugin(['dist']),
new HtmlWebpackPlugin({
title: 'OpenNeuro',
- template: path.resolve(__dirname, 'src/index.html')
+ template: path.resolve(__dirname, 'src/index.html'),
+ favicon: './assets/favicon.ico'
}),... | 1 |
diff --git a/js/search.js b/js/search.js @@ -92,9 +92,25 @@ async function search(browser, string) {
function parseLocusString(browser, locus) {
+ // Check for tab delimited locus string
+ const tabTokens = locus.split('\t')
+ if (tabTokens.length >= 3) {
+ // Possibly a tab-delimited locus
+ try {
+ const chr = browse... | 11 |
diff --git a/generators/server/templates/src/test/java/package/service/UserServiceIT.java.ejs b/generators/server/templates/src/test/java/package/service/UserServiceIT.java.ejs @@ -503,7 +503,7 @@ public class UserServiceIT <% if (databaseType === 'cassandra') { %>extends Abst
<%_ if (databaseType === 'sql') { _%>
@Tra... | 10 |
diff --git a/articles/quickstart/spa/vuejs/_includes/_centralized_login.md b/articles/quickstart/spa/vuejs/_includes/_centralized_login.md @@ -66,7 +66,6 @@ class AuthService {
} else if (err) {
router.replace('home')
console.log(err)
- alert(`Error: <%= "${err.error}" %>. Check the console for further details.`)
}
})
... | 3 |
diff --git a/app/modules/main/containers/Sections/Home/Setup/Elements/Words.js b/app/modules/main/containers/Sections/Home/Setup/Elements/Words.js @@ -6,7 +6,7 @@ import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import compose from 'lodash/fp/compose';
-import { Button, Segment } fr... | 9 |
diff --git a/PostIdsEverywhere.user.js b/PostIdsEverywhere.user.js // @description Inserts post IDs everywhere where there's a post or post link
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.7.1
+// @version 1.8
//
// @include https://*stackoverflow.com/*
// @include http... | 2 |
diff --git a/apps.json b/apps.json {"name":"lifeclk.app.js","url":"app.js"},
{"name":"lifeclk.img","url":"app-icon.js","evaluate":true}
]
+},
+{ "id": "gpsservice",
+ "name": "Low power GPS Service",
+ "shortName":"GPS Service",
+ "icon": "gpsservice.png",
+ "version":"0.01",
+ "description": "low power GPS widget",
+ ... | 3 |
diff --git a/Specs/Scene/SceneSpec.js b/Specs/Scene/SceneSpec.js @@ -1351,10 +1351,10 @@ describe(
s.initializeFrame();
s.render();
- expect(spyListener.calls.count()).toBe(1);
+ expect(spyListener.calls.count()).toBe(2);
var args = spyListener.calls.allArgs();
- expect(args.length).toEqual(1);
+ expect(args.length).to... | 3 |
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "",
"license": "ISC",
"dependencies": {
- "@hkube/nodejs-wrapper": "^2.0.35"
+ "@hkube/nodejs-wrapper": "^2.0.38"
},
"devDependencies": {}
}
\ No newline at end of fil... | 3 |
diff --git a/lib/cartodb/models/dataview/base.js b/lib/cartodb/models/dataview/base.js @@ -45,10 +45,7 @@ var columnTypeQueryTpl = ctx => `SELECT pg_typeof(${ctx.column})::oid FROM (${ct
BaseDataview.prototype.getColumnType = function (psql, column, query, callback) {
var readOnlyTransaction = true;
- var columnTypeQue... | 4 |
diff --git a/demo/views/pages/home/home.js b/demo/views/pages/home/home.js import React from 'react';
-import Sectioniser from './sectioniser';
-import ScrollableList from '../../../../src/components/scrollable-list';
+import AlertBanner from './alert-banner';
+import ComponentShowcase from './component-showcase';
+imp... | 14 |
diff --git a/src/scripting/ScriptingMemory.js b/src/scripting/ScriptingMemory.js @@ -4,6 +4,7 @@ const randomize = require('randomatic')
const uuidv1 = require('uuid/v1')
const moment = require('moment')
const vm = require('vm')
+const _ = require('lodash')
const Capabilities = require('../Capabilities')
@@ -154,15 +15... | 4 |
diff --git a/README.md b/README.md @@ -855,7 +855,7 @@ Future.of(1)
//> 2
```
-For comparison, the equivalent with Promises is:
+For comparison, an approximation with Promises is:
```js
Promise.resolve(1)
@@ -890,12 +890,18 @@ Future.reject('error')
//! "error!"
```
-For comparison, the equivalent with Promises is:
+Fo... | 7 |
diff --git a/src/ApiGateway.js b/src/ApiGateway.js @@ -991,7 +991,6 @@ module.exports = class ApiGateway {
response.header('Content-Type', 'application/json');
- /* eslint-disable no-param-reassign */
response.statusCode = 200; // APIG replies 200 by default on failures;
response.source = {
errorMessage: message,
@@ -1... | 2 |
diff --git a/source/pool/test/unit.js b/source/pool/test/unit.js @@ -532,6 +532,12 @@ describe('Pool Unit Tests', () => {
).to.be.revertedWith('Ownable: caller is not the owner')
})
+ it('Test addAdmin reverts with zero address', async () => {
+ await expect(
+ pool.connect(deployer).addAdmin('0x00000000000000000000000... | 7 |
diff --git a/lib/jsonwp-proxy/proxy.js b/lib/jsonwp-proxy/proxy.js @@ -8,7 +8,7 @@ import { routeToCommandName } from '../protocol/routes';
import ProtocolConverter from './protocol-converter';
-const log = logger.getLogger('JSONWP Proxy');
+const log = logger.getLogger('WD Proxy');
// TODO: Make this value configurabl... | 10 |
diff --git a/token-metadata/0xaeC2E87E0A235266D9C5ADc9DEb4b2E29b54D009/metadata.json b/token-metadata/0xaeC2E87E0A235266D9C5ADc9DEb4b2E29b54D009/metadata.json "symbol": "SNGLS",
"address": "0xaeC2E87E0A235266D9C5ADc9DEb4b2E29b54D009",
"decimals": 0,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb @@ -334,7 +334,6 @@ class ProjectsController < ApplicationController
format.json do
@project_users = @selected_user.project_users.joins(:project).
includes({:project => [:project_list, {:project_observation_fields => :observati... | 13 |
diff --git a/packages/build/src/core/main.js b/packages/build/src/core/main.js @@ -99,13 +99,12 @@ const build = async function(flags = {}) {
return { success: true, logs }
} catch (error) {
await maybeCancelBuild({ error, api, deployId })
- logOldCliVersionError({ mode, testOpts })
error.netlifyConfig = netlifyConfig
... | 5 |
diff --git a/modules/Cockpit/rest-api.php b/modules/Cockpit/rest-api.php @@ -48,7 +48,12 @@ $this->on("before", function() {
$params = isset($parts[1]) ? explode('/', $parts[1]) : [];
$output = false;
- if (isset($routes[$resource])) {
+ if ($resourcefile = $this->path("#config:api/{$resource}.php")) {
+
+ $user = $thi... | 11 |
diff --git a/ChatImprovements.user.js b/ChatImprovements.user.js // @description New responsive userlist with usernames and total count, more timestamps, use small signatures only, mods with diamonds, message parser (smart links), timestamps on every message, collapse room description and room tags, mobile improvements... | 1 |
diff --git a/views/stats.ejs b/views/stats.ejs @@ -1356,7 +1356,7 @@ twitterDescription += '. Click to view more stats!'
<div class="stat-anchor"></div>
<div class="stat-header"><span>Slayer</span></div>
<div class="stat-content">
- <% if(calculated.slayer_coins_spent.total == 0){ %>
+ <% if(calculated.slayer_coins_spe... | 8 |
diff --git a/elasticdump.js b/elasticdump.js @@ -170,7 +170,17 @@ class elasticdump extends EventEmitter {
}
offset += data.length
+ try {
await delay(self.options.throttleInterval || 0)
+ } catch (err) {
+ self.emit('error', err)
+
+ if (!ignoreErrors) {
+ self.log('Total Writes: ' + totalWrites)
+ self.log('dump ende... | 9 |
diff --git a/src/commands/LFG/LFG.js b/src/commands/LFG/LFG.js @@ -17,7 +17,7 @@ class AddLFG extends Command {
* @param {Genesis} bot The bot object
*/
constructor(bot) {
- super(bot, 'lfg.add', 'lfg', 'Submit an LFG request.');
+ super(bot, 'lfg.add', 'lfg|h|lfm', 'Submit an LFG request.');
this.regex = new RegExp(`^... | 11 |
diff --git a/validators/tsv.js b/validators/tsv.js @@ -143,15 +143,15 @@ module.exports = function TSV (file, contents, fileList, callback) {
}
// check partcipants.tsv for age 89+
- var headers = rows[0].split('\t');
+
if (file.name === 'participants.tsv'){
+ var header = rows[0].replace(/(\r\n|\n|\r)/gm,"").split('\t... | 9 |
diff --git a/components/Frame/HeaderNew.js b/components/Frame/HeaderNew.js @@ -10,7 +10,7 @@ import {
HeaderHeightProvider
} from '@project-r/styleguide'
-import { Router, matchPath } from '../../lib/routes'
+import { Router } from '../../lib/routes'
import { withMembership } from '../Auth/checkRoles'
import withT from... | 1 |
diff --git a/test/models/behaviors/shellTransformTest.js b/test/models/behaviors/shellTransformTest.js const assert = require('assert'),
behaviors = require('../../../src/models/behaviors'),
Logger = require('../../fakes/fakeLogger'),
- fs = require('fs');
+ fs = require('fs-extra'),
+ filename = '_shellTransform.js';
... | 10 |
diff --git a/packages/idyll-document/src/utils/schema2element.js b/packages/idyll-document/src/utils/schema2element.js @@ -7,7 +7,6 @@ const _componentMap = new WeakMap();
class ReactJsonSchema {
constructor(componentMap) {
if (componentMap) this.setComponentMap(componentMap);
-
}
parseSchema(schema) {
@@ -25,10 +24,11... | 2 |
diff --git a/packages/app/src/services/cdn-resources-service.js b/packages/app/src/services/cdn-resources-service.js @@ -57,16 +57,6 @@ class CdnResourcesService {
const outDir = resolveFromRoot(cdnLocalScriptRoot);
return new CdnResource(manifest.name, manifest.url, outDir);
});
-
- const cdnGzResources = this.cdnMani... | 13 |
diff --git a/js/webcomponents/bisweb_mainviewerapplication.js b/js/webcomponents/bisweb_mainviewerapplication.js @@ -767,7 +767,6 @@ class ViewerApplicationElement extends HTMLElement {
webutil.createMenuItem(gmenu,'');
}
-
if (this.num_independent_viewers > 1) {
webutil.createMenuItem(gmenu, extra+'Both Viewers', func... | 12 |
diff --git a/ui/js/page/publish/view.jsx b/ui/js/page/publish/view.jsx @@ -134,8 +134,8 @@ class PublishPage extends React.Component {
if (this.state.isFee) {
lbry.wallet_unused_address().then((address) => {
- metadata.fee = {};
- metadata.fee[this.state.feeCurrency] = {
+ metadata.fee = {
+ currency: this.state.feeCur... | 4 |
diff --git a/graphic_templates/ai2html_graphic/js/graphic.js b/graphic_templates/ai2html_graphic/js/graphic.js @@ -8,8 +8,6 @@ var isMobile = false;
var onWindowLoaded = function() {
pymChild = new pym.Child({});
- //artboardResizer();
-
pymChild.onMessage('on-screen', function(bucket) {
ANALYTICS.trackEvent('on-screen... | 2 |
diff --git a/content/en/guide/v10/upgrade-guide.md b/content/en/guide/v10/upgrade-guide.md @@ -188,12 +188,12 @@ In Preact X the state of a component will no longer be mutated synchronously. Th
this.state = { counter: 0 };
// Preact 8.x
-this.setState({ counter: this.state.counter++ });
+this.setState({ counter: ++this... | 1 |
diff --git a/app/authenticated/project/api/hooks/index/controller.js b/app/authenticated/project/api/hooks/index/controller.js @@ -28,9 +28,6 @@ export default Ember.Controller.extend({
translationKey: 'hookPage.fields.url.label',
width: '100'
},
- {
- width: '75'
- },
],
});
| 2 |
diff --git a/README.md b/README.md -<div align="center">
- <img src="https://avatars1.githubusercontent.com/u/20690665?v=3&s=200" alt="fly logo" width="80">
-</div>
-
-<h1 align="center">fly</h1>
-
-<div align="center">
- <!-- NPM version -->
- <a href="https://npmjs.org/package/fly">
- <img src="https://img.shields.io... | 4 |
diff --git a/src/components/dragelement/index.js b/src/components/dragelement/index.js @@ -85,6 +85,23 @@ dragElement.init = function init(options) {
initialTarget,
rightClick;
+ if(options.dragmode === false) {
+ if(element.onmousedown) {
+ element.onmousedown = undefined;
+ }
+ if(!supportsPassive) {
+ if(element.ont... | 2 |
diff --git a/translations/en-us.yaml b/translations/en-us.yaml @@ -525,7 +525,7 @@ authPage:
label: "Azure AD is not configured"
enabled:
header: 'Danger Zone™'
- reallyDisable: 'Are you sure? Click again to really disable access control'
+ reallyDisable: 'Are you sure? Click again to disable access control'
prom... | 2 |
diff --git a/src/js/services/incomingData.js b/src/js/services/incomingData.js @@ -16,7 +16,7 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
noPrefixInAddress = 1;
}
- if (typeof(data) == 'string' && (data.toLowerCase().indexOf('bitcoincash:') >= 0 || data[0] == 'q' || data[0] == 'p... | 1 |
diff --git a/src/constants.js b/src/constants.js @@ -383,6 +383,11 @@ module.exports = {
mob_names: {
unburried_zombie: "Crypt Ghoul",
zealot_enderman: "Zealot",
+ invisible_creeper: "Sneaky Creeper",
+ generator_ghast: "Minion Ghast",
+ generator_magma_cube: "Minion Magma Cube",
+ generator_slime: "Minion Slime",
+ br... | 10 |
diff --git a/test/configCases/plugins/banner-plugin-hashing/webpack.config.js b/test/configCases/plugins/banner-plugin-hashing/webpack.config.js +"use strict";
+
const webpack = require("../../../../");
-const path = require("path");
module.exports = {
node: {
@@ -7,7 +8,7 @@ module.exports = {
__filename: false
},
ent... | 2 |
diff --git a/app.js b/app.js @@ -18,10 +18,43 @@ if (!semver.satisfies(nodejsVersion, '>=6.9.0')) {
// See https://github.com/CartoDB/support/issues/984
// CartoCSS properties text-wrap-width/text-wrap-character not working
-// This function should be called as soon as possible.
+// This function should be called befor... | 12 |
diff --git a/assets/js/containers/Home/index.js b/assets/js/containers/Home/index.js @@ -137,7 +137,7 @@ class Home extends Component {
</a>
</h2>
</div>
- <p>
+ <div>
<Like id={this.props.feeds[0].feed.id} />
<SocialSharing
url={this.props.feeds[0].object.articleUrl}
@@ -153,7 +153,7 @@ class Home extends Component {
... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.