code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js @@ -197,7 +197,7 @@ class ReportActionCompose extends React.Component {
addEmojiToTextBox(emoji) {
this.hideEmojiPicker();
- this.textInput.value = (this.textInput.value || this.comment) + emoji;
+ this.textInput.va... | 4 |
diff --git a/src/custom-resources.js b/src/custom-resources.js @@ -45,13 +45,18 @@ let resourcePacks = [];
async function init(){
for(const pack of await fs.readdir(RESOURCE_PACK_FOLDER)){
- let basePath = path.resolve(RESOURCE_PACK_FOLDER, pack);
- let config = require(path.resolve(basePath, 'config.json'));
+ const b... | 8 |
diff --git a/commands/rssembed.js b/commands/rssembed.js @@ -130,20 +130,21 @@ function selectProperty (m, data, callback) {
function setProperty (m, data, callback) {
const { properties, originalMessage } = data
- const property = properties.shift()
+ const property = properties[0]
const setting = m.content.trim()
- i... | 1 |
diff --git a/app/lib/ping.js b/app/lib/ping.js @@ -34,8 +34,10 @@ module.exports = {
let port;
if(host.includes('@')){
-
host = host.split('@')[1].split('/')[0];
+ } else {
+ host = host.split('/')[0];
+ }
if(host.includes(':')){
port = host.split(':')[1];
@@ -43,15 +45,6 @@ module.exports = {
host = host.split(':')[0]... | 1 |
diff --git a/src/scss/includes/panels/poi_panel.scss b/src/scss/includes/panels/poi_panel.scss @@ -35,7 +35,6 @@ $CARD_PADDING: 8px;
height: 35px;
float: right;
line-height: 35px;
- padding: 0 24px;
border: 1px solid $primary_clear;
font-size: 12px;
font-weight: 600;
@@ -43,6 +42,10 @@ $CARD_PADDING: 8px;
border-radius... | 14 |
diff --git a/tests/e2e/specs/plugin-activation.test.js b/tests/e2e/specs/plugin-activation.test.js @@ -5,27 +5,27 @@ import { deactivatePlugin, activatePlugin } from '@wordpress/e2e-test-utils';
describe( 'Plugin Activation Notice', () => {
beforeEach( async () => {
- await deactivatePlugin( 'google-site-kit' );
+ awai... | 3 |
diff --git a/lib/ui/components/Mocks/GroupView.js b/lib/ui/components/Mocks/GroupView.js @@ -34,7 +34,7 @@ export class GroupView extends React.PureComponent {
const group = API.getGroup(this.props.id);
if (group) {
- const firstMockId = group.mocks[0].id;
+ const firstMockId = (group.mocks[0] || {}).id;
group.mocks.fo... | 1 |
diff --git a/lib/migration.js b/lib/migration.js @@ -536,7 +536,7 @@ export const getPartialMigration = (actions) => {
case 'addIndex':
nameOrAttrs =
- action.options && action.options.indexName && action.options.indexName !== ''
+ action.options && action.options.indexName
? `"${action.options.indexName}"`
: JSON.stri... | 1 |
diff --git a/sockets/sockets.js b/sockets/sockets.js @@ -1118,7 +1118,6 @@ var actionsObj = {
for(var i = 0; i < rooms[args[1]].allSockets.length; i++){
rooms[args[1]].allSockets[i].emit("leave-room-requested");
}
- }
// Stop bots thread if they are playing:
if(rooms[args[1]].interval){
@@ -1131,6 +1130,9 @@ var action... | 1 |
diff --git a/js/webcomponents/bisweb_viewerlayoutelement.js b/js/webcomponents/bisweb_viewerlayoutelement.js @@ -257,7 +257,7 @@ class ViewerLayoutElement extends HTMLElement {
this.context=this.canvas.getContext("2d");
this.overlaycanvas = document.createElement('canvas');
- $(this.overlaycanvas).css({'z-index': '1000... | 12 |
diff --git a/src/encoded/static/components/genome_browser.js b/src/encoded/static/components/genome_browser.js @@ -161,6 +161,7 @@ function rAssemblyToSources(assembly, region) {
desc: 'Mouse reference genome build GRCm38',
tier_type: 'sequence',
provides_entrypoints: true,
+ pinned: true,
},
{
name: 'Genes',
@@ -175,6... | 0 |
diff --git a/lib/taiko.js b/lib/taiko.js @@ -69,6 +69,7 @@ const connect_to_cri = async (target) => {
client.on('disconnect',reconnect);
device = process.env.TAIKO_EMULATE_DEVICE;
if (device) emulateDevice(device);
+ xhrEvent.emit('createdSession',client);
resolve();
});
} catch (e) {
@@ -80,7 +81,6 @@ const connect_to... | 9 |
diff --git a/src/pages/tests/footer.hbs b/src/pages/tests/footer.hbs title: Footer Tests
layout: blank
---
-{{!-- <h1 class="drizzle-b-h1">
+<div class="sprk-u-mbh">
+ <h1 class="drizzle-b-h1 sprk-u-TextAlign--center sprk-u-mbm">
Footer Base
-</h1> --}}
+ </h1>
+ {{#embed "patterns.components.footer.base-footer"}}{{/em... | 3 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md Contributions are always welcome, no matter how large or small. Before contributing,
please read the [code of conduct](CODE_OF_CONDUCT.md).
-## Setup
+## Development process
-Install Node.js 8+ on your system: https://nodejs.org/en/download/
+First fork and clone the repos... | 7 |
diff --git a/infra/bridge/src/utils/process-telegram-message.js b/infra/bridge/src/utils/process-telegram-message.js @@ -48,7 +48,7 @@ const processMessage = async ({ message, onReplyMessage, onEndResponse }) => {
await logChat(message)
onReplyMessage(
message.chat.id,
- 'Hey there, we have received your message. Our t... | 7 |
diff --git a/package-lock.json b/package-lock.json {
"name": "node-binance-api",
- "version": "0.12.0",
+ "version": "0.12.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"tweetnacl": "^0.14.3"
}
},
+ "bignumber.js": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumbe... | 3 |
diff --git a/html/components/button.stories.js b/html/components/button.stories.js @@ -80,7 +80,7 @@ export const asALinkElement = () => (
`
<a
class="sprk-c-Button"
- href="https://www.sparkdesignsystem.com"
+ href="#nogo"
data-id="button-link-element"
>
Button
| 3 |
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -278,6 +278,11 @@ def process_old_illumina_read_name_pattern(read_name,
if (flowcell.find('-') != -1 or
flowcell.find('_') != -1):
flowcell = 'TEMP'
+ # at this point we assume the read name is following old illumina format template
+ # however sometim... | 0 |
diff --git a/common/PathdbMods.js b/common/PathdbMods.js @@ -49,8 +49,9 @@ function PathDbMods() {
x.mpp = x.mpp_x
}
if (data.field_iip_path && data.field_iip_path.length >= 1) {
- x.location = data.field_iip_path[0].value
- x.url = "../../img/IIP/raw/?DeepZoom=pathdb*" + pathdbid + ".dzi"
+ // x.location = data.field_... | 4 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js b/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js @@ -397,8 +397,6 @@ RED.workspaces = (function() {
})
})
- RED.actions.add("core:hide-tab", function() { RED.workspaces.hide(); })
-
RED.actions.add("core:list-flows... | 2 |
diff --git a/npm/react/src/mount.ts b/npm/react/src/mount.ts @@ -116,7 +116,7 @@ const _mount = (type: 'mount' | 'rerender', jsx: React.ReactNode, options: Mount
return (
// Separate alias and returned value. Alias returns the component only, and the thenable returns the additional functions
- cy.wrap<React.ReactNode>(... | 1 |
diff --git a/src/hooks/useGenericAPI.js b/src/hooks/useGenericAPI.js @@ -6,21 +6,27 @@ import URLs from "common/urls";
import axios from "axios";
+import type { ResponseType } from "axios";
-const useGenericAPI = ( urlName: string, defaultResponse= null, responseType="json" ) => {
+const useGenericAPI = ( urlName: stri... | 7 |
diff --git a/generators/server/templates/src/main/java/package/config/FeignConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/FeignConfiguration.java.ejs @@ -25,4 +25,11 @@ import org.springframework.context.annotation.Configuration;
@EnableFeignClients(basePackages = "<%=packageName%>")
... | 12 |
diff --git a/public/index.html b/public/index.html dataLayer.push(arguments);
}
gtag('js', new Date());
- gtag('config', 'UA-160698988-1');
+ gtag('config', 'UA-160698988-1', {"site_speed_sample_rate": 1, "sample_rate": 1});
</script>
</html>
| 12 |
diff --git a/editor.js b/editor.js @@ -495,6 +495,13 @@ const _makeObjectUiMesh = object => {
model.scale.set(1, result.height/result.width, 1);
};
+ let localVisible = false;
+ m.show = () => {
+ localVisible = true;
+ };
+ m.hide = () => {
+ localVisible = false;
+ };
m.update = () => {
const renderer = getRenderer()... | 0 |
diff --git a/docs/v4/landpads/schema.md b/docs/v4/landpads/schema.md },
"status": {
"type": "String",
- "default": null
+ "enum": [
+ "active",
+ "inactive",
+ "unknown",
+ "retired",
+ "lost",
+ "under construction"
+ ],
+ "required": true
},
"type": {
"type": "String",
| 3 |
diff --git a/src/scripts/browser/menus/templates/main-privacy.js b/src/scripts/browser/menus/templates/main-privacy.js @@ -4,7 +4,7 @@ export default {
label: 'Privacy',
submenu: [{
type: 'checkbox',
- label: '&Report Stats and Crashes',
+ label: '&Report App Stats and Crashes',
click: $.setPref('analytics-track', $.ke... | 10 |
diff --git a/src/core/operations/Bzip2Compress.mjs b/src/core/operations/Bzip2Compress.mjs @@ -29,7 +29,9 @@ class Bzip2Compress extends Operation {
{
name: "Block size (100s of kb)",
type: "number",
- value: 9
+ value: 9,
+ min: 1,
+ max: 9
},
{
name: "Work factor",
| 0 |
diff --git a/devices.js b/devices.js @@ -1035,7 +1035,7 @@ const devices = [
fromZigbee: [
fz.generic_battery_remaining, fz.generic_occupancy, fz.generic_temperature,
fz.ignore_occupancy_change, fz.generic_illuminance, fz.ignore_illuminance_change,
- fz.ignore_temperature_change,
+ fz.ignore_temperature_change, fz.igno... | 8 |
diff --git a/articles/appliance/disaster-recovery.md b/articles/appliance/disaster-recovery.md @@ -19,7 +19,9 @@ In cases where the data centers have very low latency, you can run individual PS
## Geographic High-Availability PSaaS Appliance Implementation
-If your requirements demand very little to no downtime, we rec... | 3 |
diff --git a/package.json b/package.json "mojangson": "^0.2.1",
"prismarine-biome": "^1.0.1",
"prismarine-block": "^1.0.1",
- "prismarine-chunk": "^1.5.1",
+ "prismarine-chunk": "^1.6.0",
"prismarine-entity": "^0.2.0",
"prismarine-item": "^1.0.1",
"prismarine-recipe": "^1.0.1",
| 3 |
diff --git a/src/translations/en.global.json b/src/translations/en.global.json },
"Stake": "Staked ${stake}",
"AddKey": {
- "forContract": "Access key added for contract: ${permissionReceiverId}",
- "forReceiver": "New key added for ${receiverId}"
+ "forContract": "Access Key added for: ${permissionReceiverId}",
+ "for... | 3 |
diff --git a/stats.js b/stats.js * @author jetienne / http://jetienne.com/
*/
+import * as THREE from 'three';
import metaversefile from 'metaversefile';
const {useLocalPlayer} = metaversefile;
-export var Stats = function () {
+const localVector = new THREE.Vector3();
- var msMin = 100;
- var msMax = 0;
+export var St... | 0 |
diff --git a/changelog/53_UNRELEASED_2019-xx-xx.md b/changelog/53_UNRELEASED_2019-xx-xx.md - Improved the responsiveness of the meal plan and calendar page by automatically switching to a day calendar view on smaller screens (thanks for the idea @kriddles)
- The calendar now also contains all planned recipes from the m... | 3 |
diff --git a/kitty-items-go/services/kibbles.go b/kitty-items-go/services/kibbles.go @@ -44,7 +44,6 @@ func (k *KibblesService) Mint(ctx context.Context, destinationAddress flow.Addre
tx := flow.NewTransaction().
SetScript([]byte(mintKibblesTemplate)).
- AddAuthorizer(k.flowService.minterAddress).
SetProposalKey(k.flow... | 2 |
diff --git a/packages/react-server/src/ReactFlightServer.js b/packages/react-server/src/ReactFlightServer.js @@ -195,6 +195,10 @@ function attemptResolveElement(
);
}
if (typeof type === 'function') {
+ if (isModuleReference(type)) {
+ // This is a reference to a client component.
+ return [REACT_ELEMENT_TYPE, type, ke... | 11 |
diff --git a/lib/MeshBVHNode.js b/lib/MeshBVHNode.js @@ -48,7 +48,7 @@ class MeshBVHNode {
// consider the position of the split plane with respect to the oncoming ray; whichever direction
// the ray is coming from, look for an intersection among that side of the tree first
- const leftToRight = ray.direction[ xyzField... | 1 |
diff --git a/public/ipython/notebook/js/outputarea.js b/public/ipython/notebook/js/outputarea.js @@ -555,6 +555,18 @@ define([
// have at least one output to consider
var last = this.outputs[this.outputs.length-1];
if (last.output_type == 'stream' && json.name == last.name){
+ if (last.text.length > 10000) {
+ // ignor... | 8 |
diff --git a/UserlinkTooltips.user.js b/UserlinkTooltips.user.js // @description Display reputation in tooltip upon user link mouseover
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.2.1
+// @version 1.3
//
// @include https://*stackoverflow.com/*
// @include https://*serv... | 8 |
diff --git a/src/components/Button.js b/src/components/Button.js @@ -49,9 +49,9 @@ const Button = React.createClass({
{(this.props.icon && !this.props.isActive) ? <Icon size={20} style={styles.icon} type={this.props.icon} /> : null}
{this.props.isActive ? (
<Spin direction='counterclockwise'>
- <Icon size={20} type='sp... | 12 |
diff --git a/release.sh b/release.sh @@ -57,6 +57,7 @@ buildOSX() {
mv Sia-UI.app/Contents/MacOS/Electron Sia-UI.app/Contents/MacOS/Sia-UI
# NOTE: this only works with GNU sed, other platforms (like OSX) may fail here
sed -i 's/>Electron</>Sia-UI</' Sia-UI.app/Contents/Info.plist
+ sed -i 's/>'"${electronVersion:1}"'</... | 14 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -239,35 +239,46 @@ workflows:
- compile:
context: Development
requires:
- - eslint
- - solhint
+ - setup
- swap_tests:
context: Development
requires:
- - compile
+ - eslint
- indexer_tests:
context: Development
requires:
+ - eslint
+ - solhint
- compile
- inde... | 5 |
diff --git a/lib/shared/addon/components/cluster-driver/driver-azureaks/component.js b/lib/shared/addon/components/cluster-driver/driver-azureaks/component.js @@ -57,7 +57,6 @@ export default Component.extend(ClusterDriver, {
type: 'azureKubernetesServiceConfig',
agentOsdiskSize: 100,
adminUsername: 'azureuser',
- kube... | 2 |
diff --git a/docker/docker_test.go b/docker/docker_test.go @@ -18,6 +18,7 @@ func TestLogin(t *testing.T) {
dockerVersionCmd := exec.Command("docker", "-v")
dockerVersionCmdErr := system.RunOSCommand(dockerVersionCmd, logger)
if dockerVersionCmdErr != nil {
+ t.Logf("WARNING: failed to execute `docker -v` as prerequisi... | 0 |
diff --git a/platform/core/src/studies/retrieveStudyMetadata.js b/platform/core/src/studies/retrieveStudyMetadata.js import RetrieveMetadata from './services/wado/retrieveMetadata.js';
-const module = 'RetrieveStudyMetadata';
+const moduleName = 'RetrieveStudyMetadata';
// Cache for promises. Prevents unnecessary subse... | 1 |
diff --git a/lib/shared/addon/components/form-members/component.js b/lib/shared/addon/components/form-members/component.js @@ -172,15 +172,7 @@ export default Component.extend({
}),
filteredUsers: computed('users.@each.{id,state}', function() {
- let users = [];
- if (get(this, 'primaryResource.id')) {
- // we're actua... | 2 |
diff --git a/documentation/md/style.md b/documentation/md/style.md @@ -442,7 +442,35 @@ These properties allow for the creation of shadows on nodes or edges. Note that
* **`transition-property`** : A comma separated list of style properties to animate in this state.
* **`transition-duration`** : The length of the trans... | 7 |
diff --git a/js/webcomponents/bisweb_filetreepipeline.js b/js/webcomponents/bisweb_filetreepipeline.js @@ -159,17 +159,12 @@ class FileTreePipeline extends HTMLElement {
//use partial filename to find the full entry in the internal list
let inputList = $(layout).find('.bisweb-pipeline-input-list');
let filename = this.... | 1 |
diff --git a/uri.js b/uri.js @@ -209,6 +209,7 @@ function fetchUrl(url, cb) {
bDone = true;
cb(err);
}
+ try {
https.get(url, function (resp) {
if (resp.statusCode !== 200)
return returnError("non-200 response while trying to fetch " + url);
@@ -235,6 +236,10 @@ function fetchUrl(url, cb) {
returnError("non-200 respons... | 9 |
diff --git a/lib/impress.state.js b/lib/impress.state.js @@ -74,7 +74,7 @@ impress.state.mixin = (application) => {
removeTimer();
let key;
for (key in state.back) {
- api.icommon.setByPath(state.data, key, state.back[key]);
+ api.common.setByPath(state.data, key, state.back[key]);
}
state.delta = {};
state.back = {};
| 1 |
diff --git a/webpack.config.js b/webpack.config.js @@ -122,7 +122,6 @@ module.exports = [{
routes: {
'/shepherd/dist/js/popper.js': 'dist/js/popper.js',
'/shepherd/dist/js/shepherd.js': 'dist/js/shepherd.js',
- '/shepherd/dist/css/shepherd-theme-arrows.css': 'dist/css/shepherd-theme-arrows.css',
'/shepherd/docs/welcome... | 2 |
diff --git a/vis/js/papers.js b/vis/js/papers.js @@ -235,7 +235,7 @@ papers.drawDogEarPath = function (nodes) {
// if the user clicks on the paper inside of a bubble,
// it should zoom in. (behave same way when, only the bubble is clicked)
papers.initPaperClickHandler = function () {
- d3.selectAll(".paper_holder").on(... | 1 |
diff --git a/README.md b/README.md -# Cordova GoogleMaps plugin for Android, iOS and Browser (version 2.4.1)
+# Cordova GoogleMaps plugin for Android, iOS and Browser (version 2.4.3)
This plugin displays Google Maps in your application.
This plugin uses these libraries for each platforms:
------------------------------... | 6 |
diff --git a/assets/js/modules/tagmanager/setup.js b/assets/js/modules/tagmanager/setup.js @@ -51,7 +51,7 @@ class TagmanagerSetup extends Component {
errorMsg: '',
refetch: false,
selectedAccount: settings.accountID,
- selectedContainer: settings[ containerKey ] || '0',
+ selectedContainer: settings[ containerKey ],
c... | 2 |
diff --git a/index.js b/index.js @@ -284,8 +284,6 @@ nativeVr.requestPresent = function(layers) {
} else {
return Promise.reject(new Error('no HTMLCanvasElement source with WebGLRenderingContext provided'));
}
- } else {
- return Promise.reject(new Error('already presenting'));
}
};
nativeVr.exitPresent = function() {
... | 11 |
diff --git a/token-metadata/0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8/metadata.json b/token-metadata/0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8/metadata.json "symbol": "SNTVT",
"address": "0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/tests/phpunit/integration/Core/Permissions/PermissionsTest.php b/tests/phpunit/integration/Core/Permissions/PermissionsTest.php @@ -25,12 +25,6 @@ use WP_User;
class PermissionsTest extends TestCase {
use Fake_Site_Connection_Trait;
- public function tearDown() {
- // Make sure if the current user is logge... | 2 |
diff --git a/lib/classes/PluginManager.js b/lib/classes/PluginManager.js @@ -141,10 +141,10 @@ class PluginManager {
let target = event;
const baseEvent = _.replace(event, /^(?:after:|before:)/, '');
if (_.has(this.deprecatedEvents, baseEvent)) {
+ const redirectedEvent = this.deprecatedEvents[baseEvent];
if (process.e... | 7 |
diff --git a/src/components/governance/PageProposal.vue b/src/components/governance/PageProposal.vue @@ -177,6 +177,7 @@ export default {
`connected`,
`wallet`,
`votes`,
+ `governanceParameters`,
`session`
]),
proposal({ proposals, proposalId } = this) {
@@ -194,10 +195,11 @@ export default {
endDate({ proposal } = thi... | 3 |
diff --git a/src/app.js b/src/app.js @@ -249,7 +249,7 @@ async function main(){
const profiles = [];
for(const [index, profile_response] of responses.entries()){
- if(!profile_response.data.success){
+ if(!profile_response.data.success || profile_response.data.profile == null){
delete skyBlockProfiles[profileIds[index]... | 8 |
diff --git a/src/routes.js b/src/routes.js @@ -222,7 +222,7 @@ export function loadPlanFromCSV(assignmentList, state) {
// throw new Error("CSV is for this module but a different division map (e.g. districts)");
// }
state.problem.numberOfParts = partCount * 1;
- } else if (!headers[1].match(/\d/)) {
+ } else if (!head... | 11 |
diff --git a/src/agent/fs.js b/src/agent/fs.js @@ -14,7 +14,12 @@ module.exports = {
function debase(a) {
if (a.startsWith('base64:')) {
- return normalize(toByteArray(a.slice(7)));
+ try {
+ const data = toByteArray(a.slice(7)));
+ a = String.fromCharCode.apply(null, data);
+ } catch(e) {
+ // invalid base64
+ }
}
ret... | 9 |
diff --git a/packages/component-library/src/BarChart/BarChart.js b/packages/component-library/src/BarChart/BarChart.js @@ -114,7 +114,7 @@ const BarChart = ({
BarChart.propTypes = {
data: PropTypes.arrayOf(PropTypes.shape({})),
loading: PropTypes.bool,
- error: PropTypes.bool,
+ error: PropTypes.string,
dataKey: PropTy... | 3 |
diff --git a/OurUmbraco.Site/config/IISRewriteMaps.config b/OurUmbraco.Site/config/IISRewriteMaps.config <add key="documentation/Umbraco-Cloud/Set-Up/Manage-Domains/Umbraco-Latch" value="/documentation/Umbraco-Cloud/Set-Up/Manage-Hostnames/Umbraco-Latch/" />
<add key="documentation/Umbraco-Cloud/Set-Up/Manage-Domains/S... | 2 |
diff --git a/src/resources/views/crud/fields/inc/translatable_icon.blade.php b/src/resources/views/crud/fields/inc/translatable_icon.blade.php -@if (method_exists($crud->model, 'isTranslatableAttribute') && ($crud->model->isTranslatableAttribute($field['name']) || (isset($field['store_in']) ? $crud->model->isTranslatab... | 11 |
diff --git a/src/lib/undux/GDStore.js b/src/lib/undux/GDStore.js @@ -8,14 +8,24 @@ type Name = {
valid?: boolean
}
+type Account = {
+ balance: string,
+ entitlement: string
+}
+
export type State = {
- name: Name
+ name: Name,
+ account: Account
}
const initialState: State = {
name: {
fullName: '',
valid: undefined
+ ... | 0 |
diff --git a/core/task-executor/lib/helpers/etcd.js b/core/task-executor/lib/helpers/etcd.js @@ -37,7 +37,7 @@ class Etcd extends EventEmitter {
log.info(`worker for algorithm ${algorithmName} command: ${command}`, {
component, command, workerId, podName, algorithmName
});
- return this._etcd.workers.setState({ workerI... | 0 |
diff --git a/.github/workflows/actions/android-pre-build/action.yml b/.github/workflows/actions/android-pre-build/action.yml @@ -9,8 +9,8 @@ runs:
- uses: actions/checkout@v2
- name: Git branch name
id: git-branch-name
- uses: EthanSK/git-branch-name-action@v1
shell: bash
+ uses: EthanSK/git-branch-name-action@v1
- nam... | 14 |
diff --git a/scripts/utils/DonationUsdValueUtility.js b/scripts/utils/DonationUsdValueUtility.js @@ -42,6 +42,7 @@ class DonationUsdValueUtility {
const { createdAt, token, amount } = donation;
const { symbol } = token;
+ try {
const { rate } = await getHourlyUSDCryptoConversion(this.app, createdAt, symbol);
const usdV... | 9 |
diff --git a/src/API.js b/src/API.js @@ -31,9 +31,12 @@ Client.prototype.createRequest = function(method, uri, data) {
Client.prototype.createAuthorizedRequest = function(method, uri, data) {
var headers = new Headers();
- headers.append("Authorization", "Bearer " + this.model.token);
headers.append("Content-Type", "ap... | 12 |
diff --git a/app/models/label/LabelTable.scala b/app/models/label/LabelTable.scala @@ -255,9 +255,9 @@ object LabelTable {
Int, String, String, java.sql.Timestamp, String, String, Option[Int], Boolean,
Option[String])](
"""SELECT lb1.label_id, lb1.gsv_panorama_id, lp.heading, lp.pitch, lp.zoom, lp.canvas_x, lp.canvas_y... | 3 |
diff --git a/src/pages/profile.js b/src/pages/profile.js @@ -36,14 +36,12 @@ class ProfileAddressBook extends Component {
const { authStore: { account } } = this.props;
// Use relayConnectionToArray to remove edges / nodes levels from addressBook object
- const addresses = account.addressBook && account.addressBook.len... | 2 |
diff --git a/articles/sso/current/setup.md b/articles/sso/current/setup.md @@ -50,7 +50,7 @@ Whenever you need to determine the user's SSO status, you'll need to check the f
* The Auth0 `accessToken`, which is used to access the desired resource
* The `expirationDate` on the `accessToken`, which is calculated using the... | 3 |
diff --git a/deps/exokit-bindings/magicleap/src/magicleap.cc b/deps/exokit-bindings/magicleap/src/magicleap.cc @@ -1549,11 +1549,13 @@ NAN_METHOD(MLContext::PrePollEvents) {
// std::unique_lock<std::mutex> lock(mlContext->positionMutex);
planesRequest.bounds_center = mlContext->position;
- planesRequest.bounds_rotation... | 12 |
diff --git a/articles/connections/database/password-strength.md b/articles/connections/database/password-strength.md @@ -25,11 +25,11 @@ At each level, new passwords must meet the following criteria:
* **None** (default): at least 1 character of any type.
* **Low**: at least 6 characters.
* **Fair**: at least 8 charact... | 2 |
diff --git a/scripts/tosdr-topics.json b/scripts/tosdr-topics.json "tracks you on other websites",
"logs are kept forever",
"they can use your content for all their existing and future services",
- "your data is used for many purposes",
- "device fingerprinting"
+ "your data is used for many purposes"
],
"good": [
"per... | 2 |
diff --git a/ui/src/screens/SearchScreen/SearchScreen.jsx b/ui/src/screens/SearchScreen/SearchScreen.jsx @@ -31,9 +31,13 @@ const messages = defineMessages({
id: 'search.no_results_description',
defaultMessage: 'Try making your search more general',
},
- page_title: {
+ title: {
id: 'search.title',
- defaultMessage: 'S... | 12 |
diff --git a/articles/libraries/auth0js/v9/migration-v7-v9.md b/articles/libraries/auth0js/v9/migration-v7-v9.md @@ -31,8 +31,8 @@ Follow the [instructions to migrate from Auth0.js v7 to v8](/libraries/auth0js/v
```js
var auth0 = new Auth0({
- domain: "your-domain.auth0.com",
- clientID: "the-client-id",
+ domain: "${a... | 0 |
diff --git a/app/controllers/google_plus_controller.rb b/app/controllers/google_plus_controller.rb @@ -7,6 +7,7 @@ class GooglePlusController < ApplicationController
before_filter :load_button_color
def google_plus
+ headers['X-Frame-Options'] = 'SAMEORIGIN'
signup_url = Cartodb::Central.sync_data_with_cartodb_central?... | 11 |
diff --git a/src/toolbars.js b/src/toolbars.js @@ -3,8 +3,10 @@ import specialCharacterGroups from './specialCharacters'
import latexCommandsWithSvg from './latexCommandsWithSvg'
export function init(mathEditor, hasRichTextFocus, l, baseUrl) {
+ let helpOverlayActiveElement
+
const $helpOverlay = $(`<div class="rich-te... | 12 |
diff --git a/lib/model.js b/lib/model.js @@ -9,6 +9,7 @@ var document = require('./document')
, events = require('events')
, Cursor = require('./cursor')
, levelup = require('levelup')
+ , leveldown = require('leveldown')
, hat = require('hat');
var stores = {}; // We have to keep those unique by filename because they'... | 4 |
diff --git a/data/parsers/ecdc.py b/data/parsers/ecdc.py @@ -19,6 +19,8 @@ URL = "https://www.ecdc.europa.eu/sites/default/files/documents/COVID-19-geogra
def retrieve_case_data():
countries = parse_countries(1)
+ countries['UK'] = countries['GB'] # fixing error in data source
+ countries['EL'] = countries['GR'] # fixi... | 1 |
diff --git a/src/items/alien-archives/yrgytchee.json b/src/items/alien-archives/yrgytchee.json "race": "",
"class": "",
"biography": {
- "value": "<p>Natives of the high-gravity paradise planet Yrgytch (page 62), yrgytchees have an affinity for technology and welcome off-worlders to the numerous resorts and retreats th... | 0 |
diff --git a/src/kiri/main.js b/src/kiri/main.js }
}
else if (is3mf) {
- MOTO.TMF.parseAsync(e.target.result).then(models => {
- console.log({models});
+ let odon = function(models) {
+ let msg = API.show.alert('Adding Objects');
for (let model of models) {
let name = e.target.file.name;
if (model.name) {
.saveToCatalo... | 11 |
diff --git a/assets/js/modules/analytics/datastore/notifications.test.js b/assets/js/modules/analytics/datastore/notifications.test.js @@ -28,7 +28,6 @@ import {
createTestRegistry,
unsubscribeFromAll,
} from '../../../../../tests/js/utils';
-import { enabledFeatures } from '../../../features';
import { MODULES_ANALYTI... | 2 |
diff --git a/packages/swagger2openapi/index.js b/packages/swagger2openapi/index.js @@ -149,7 +149,7 @@ function fixupRefs(obj, key, state, options) {
if (obj[key].startsWith('#/definitions/')) {
//only the first part of a schema component name must be sanitised
let keys = obj[key].replace('#/definitions/', '').split('/... | 9 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -30,7 +30,7 @@ function _newPlot(gd, arg2, arg3, arg4) {
if(!fig.layout) fig.layout = {};
if(!fig.layout.newselection) fig.layout.newselection = {};
fig.layout.newselection.mode = 'gradual';
- // complex ouline creation are mainly tes... | 0 |
diff --git a/data/operators/power/plant.json b/data/operators/power/plant.json }
},
{
- "displayName": "SSE (UK and Ireland)",
- "id": "sse-6adf37",
+ "displayName": "SSE Renewables",
+ "id": "",
"locationSet": {"include": ["gb", "ie"]},
- "matchNames": [
- "scottish & southern energy"
- ],
"tags": {
- "operator": "SSE... | 14 |
diff --git a/server/services/getChartSVG.js b/server/services/getChartSVG.js @@ -59,6 +59,7 @@ if (system.args.length < 3 || system.args.length > 5) {
page.viewportSize = { width: 1500, height: 1080 };
var svgClipRect = page.evaluate( function() {
var visCol = document.getElementsByClassName("vis-col")[0];
+ document.g... | 2 |
diff --git a/src/apps.json b/src/apps.json 13
],
"html": "<script[^>]*>\\s*Raven\\.config\\('[^']*', {\\s+release: '([0-9\\.]+)'\\;version:\\1",
- "script": {
+ "js": {
"Raven.config": "",
"ravenOptions.whitelistUrls": ""
},
| 1 |
diff --git a/src/sdk/base/stream.js b/src/sdk/base/stream.js return !!spec.hasVideo;
}
};
+
+ // TODO: Make it align with remote streams.
+ this.isScreen = function() {
+ return (!!spec.video && spec.video.device === 'screen');
+ };
}
function WoogeenRemoteStream(streamInfo) {
| 1 |
diff --git a/src/js/modules/Format/defaults/formatters/money.js b/src/js/modules/Format/defaults/formatters/money.js @@ -25,11 +25,13 @@ export default function(cell, formatterParams, onRendered){
integer = number[0];
decimal = number.length > 1 ? decimalSym + number[1] : "";
+ if (formatterParams.thousand !== false) {... | 11 |
diff --git a/views/about.pug b/views/about.pug @@ -11,7 +11,7 @@ block content
p.
BootstrapCDN was founded in 2012 by #[a(href='https://twitter.com/DavidHenzel', rel='noopener', target='_blank') David Henzel]
and Justin Dorfman at MaxCDN. Today, BootstrapCDN is used by over
- #[a(href='https://trends.builtwith.com/cdn/... | 3 |
diff --git a/packages/openneuro-app/src/scripts/datalad/routes/snapshot.jsx b/packages/openneuro-app/src/scripts/datalad/routes/snapshot.jsx @@ -9,6 +9,13 @@ const Snapshot = ({ datasetId, snapshots }) => {
const [semanticLevel, setSemanticLevel] = useState('patch')
const [newChange, updateNewChange] = useState('')
+ c... | 11 |
diff --git a/server/services/getLatestRevision.php b/server/services/getLatestRevision.php @@ -26,7 +26,6 @@ if ($context === true) {
$return_data = array("context" => array("id" => $data["rev_vis"], "query" => $data["vis_query"], "service" => $data["vis_title"]
, "timestamp" => $data["rev_timestamp"], "params" => $dat... | 2 |
diff --git a/data.js b/data.js @@ -350,6 +350,14 @@ module.exports = [{
url: "https://github.com/kogarashisan/ClassManager",
source: "https://raw.githubusercontent.com/kogarashisan/ClassManager/master/lib/class_manager.js"
},
+ {
+ name: "FloatSidebar.js",
+ github: "vursen/FloatSidebar.js",
+ tags: ["sticky", "float",... | 0 |
diff --git a/camera-manager.js b/camera-manager.js @@ -203,6 +203,8 @@ class CameraManager extends EventTarget {
this.shakeFactor = shakeFactor;
}
update(timeDiff) {
+ // console.log('camera manager update');
+
const localPlayer = metaversefile.useLocalPlayer();
const startMode = this.getMode();
| 0 |
diff --git a/src/lime/text/Font.hx b/src/lime/text/Font.hx @@ -19,6 +19,7 @@ import js.html.CanvasElement;
import js.html.CanvasRenderingContext2D;
import js.html.SpanElement;
import js.Browser;
+import js.Lib;
#end
#if (lime_cffi && !macro)
@@ -56,6 +57,7 @@ class Font {
#if lime_cffi
@:noCompletion private var __font... | 7 |
diff --git a/token-metadata/0xdF1D6405df92d981a2fB3ce68F6A03baC6C0E41F/metadata.json b/token-metadata/0xdF1D6405df92d981a2fB3ce68F6A03baC6C0E41F/metadata.json "symbol": "VRA",
"address": "0xdF1D6405df92d981a2fB3ce68F6A03baC6C0E41F",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/generators/ci-cd/templates/.gitlab-ci.yml.ejs b/generators/ci-cd/templates/.gitlab-ci.yml.ejs @@ -22,7 +22,7 @@ image: openjdk:8
<%_ if (buildTool === 'gradle') { _%>
cache:
- key: "$CI_BUILD_REF_NAME"
+ key: "$CI_COMMIT_REF_NAME"
paths:
- node_modules
- .gradle/wrapper
| 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.