code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/webpack.config.js b/webpack.config.js @@ -33,6 +33,11 @@ var config = {
test: /\.(eot|svg|ttf|woff|woff2)$/,
include: path.join(__dirname, 'src/fonts'),
loader: 'file-loader?name=fonts/[name].[ext]'
+ },
+ {
+ test: /\.(svg)$/,
+ include: path.join(__dirname, 'src/gui'),
+ loader: 'file-loader?name=fonts/[... | 0 |
diff --git a/src/lib/wallet/GoodWallet.js b/src/lib/wallet/GoodWallet.js @@ -414,7 +414,13 @@ export class GoodWallet {
return parseInt(amount) <= parseInt(balance)
}
- async generateLink(amount: number, reason: string = '', events: PromitEvents) {
+ /**
+ * deposit specified amount to _oneTimeLink_ conrtact, and gener... | 0 |
diff --git a/token-metadata/0xaB37e1358b639Fd877f015027Bb62d3ddAa7557E/metadata.json b/token-metadata/0xaB37e1358b639Fd877f015027Bb62d3ddAa7557E/metadata.json "symbol": "LIEN",
"address": "0xaB37e1358b639Fd877f015027Bb62d3ddAa7557E",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/scripts/retag-and-push.js b/scripts/retag-and-push.js @@ -56,6 +56,13 @@ const argv = yargs
example: "data61/magda-ckan-connector",
default: ""
})
+ .option("copyFromRegistry", {
+ describe: `When \`copyFromRegistry\`=true, [regctl](https://github.com/regclient/regclient) will be used.
+ The image will be ... | 11 |
diff --git a/app/models/data_import.rb b/app/models/data_import.rb @@ -315,10 +315,6 @@ class DataImport < Sequel::Model
self
end
- def table_names_array
- table_names.present? ? table_names.split(' ') : []
- end
-
def is_raster?
::JSON.parse(self.stats).select{ |item| item['type'] == '.tif' }.length > 0
end
| 2 |
diff --git a/OurUmbraco.Site/Assets/js/map/community.map.js b/OurUmbraco.Site/Assets/js/map/community.map.js var map = new google.maps.Map(document.getElementById('map'),
{
zoom: 5,
- center: { lat: 51.4472452, lng: 2.8123371 }
+ center: { lat: 51.4472452, lng: 2.8123371 },
+ maxZoom: 17
});
// Try HTML5 geolocation.
| 12 |
diff --git a/token-metadata/0xaC2385e183d9301dd5E2BB08DA932CbF9800dC9c/metadata.json b/token-metadata/0xaC2385e183d9301dd5E2BB08DA932CbF9800dC9c/metadata.json "symbol": "LIQUID",
"address": "0xaC2385e183d9301dd5E2BB08DA932CbF9800dC9c",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIE... | 3 |
diff --git a/lib/assets/javascripts/cartodb/public/views/public_footer.jst.ejs b/lib/assets/javascripts/cartodb/public/views/public_footer.jst.ejs <dt class="Footer-title u-vspace-xs">Product</dt>
<dd class="Footer-item"><a class="Footer-link" href="https://carto.com/builder/">Builder</a></dd>
<dd class="Footer-item"><... | 1 |
diff --git a/tests/e2e/utils/setup-analytics.js b/tests/e2e/utils/setup-analytics.js @@ -8,13 +8,19 @@ const defaultConnection = {
propertyId: 200,
profileId: 300,
internalWebPropertyId: 400,
+ useSnippet: true,
+ // ampClientIdOptIn: (bool)
};
/**
* Activate and set up the Analytics module.
- * @param {Object} config ... | 3 |
diff --git a/.snyk b/.snyk version: v1.12.0
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
- 'npm:debug:20170905':
- - '*':
- reason: >-
- tar-pack needs to upddate to the latest version of debug, looks like
- tar-pack is not being maintained. This is also a dep of fsevent... | 3 |
diff --git a/src/adapters/scene_direction.js b/src/adapters/scene_direction.js @@ -134,9 +134,9 @@ export default class SceneDirection {
}
}
- computeBBox(routeOrStep) {
+ computeBBox(polygon) {
let bounds = new LngLatBounds()
- routeOrStep.geometry.coordinates.forEach((coordinate) => {
+ polygon.geometry.coordinates.f... | 10 |
diff --git a/.gitignore b/.gitignore @@ -10,7 +10,13 @@ Desktop.ini
### Editors ########################################################################################
.idea
-.vscode/
+
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+
*.sublime-project
*.sublime... | 7 |
diff --git a/token-metadata/0x53378825D95281737914a8A2ac0E5A9304aE5Ed7/metadata.json b/token-metadata/0x53378825D95281737914a8A2ac0E5A9304aE5Ed7/metadata.json "symbol": "SAM",
"address": "0x53378825D95281737914a8A2ac0E5A9304aE5Ed7",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/docs/app/DocsNav.js b/docs/app/DocsNav.js @@ -265,6 +265,14 @@ export const docsNavTree = [
text: "Cell Editing",
url: "~/examples/grid/cell-editing"
},
+ {
+ text: "Row Editing",
+ url: "~/examples/grid/row-editing"
+ },
+ {
+ text: "Row Expanding",
+ url: "~/examples/grid/row-expanding"
+ },
{
text: "Buf... | 0 |
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json {
"name": "cartodb-ui",
- "version": "4.6.9",
+ "version": "4.6.12",
"dependencies": {
"backbone": {
"version": "1.2.3",
"backbone-forms": {
"version": "0.14.0",
"from": "backbone-forms@0.14.0",
- "resolved": "https://registry.npmjs.org/backbone-forms/-/backbone-fo... | 3 |
diff --git a/test/docs/functional.md b/test/docs/functional.md @@ -8,13 +8,13 @@ COMING SOON
To run the tests with a default browser use `npm run functional`. By default, it runs all tests.
-### Enviornment Variables
+### Environment Variables
We've implemented support for environment variables in automation and a `.en... | 1 |
diff --git a/src/video/texture.js b/src/video/texture.js @@ -161,7 +161,7 @@ export class Texture {
// Add self to TextureCache if cache !== false
if (cache !== false) {
- this.sources.forEach(function (source) {
+ this.sources.forEach((source) => {
if (cache instanceof TextureCache) {
cache.set(source, this);
} else {... | 1 |
diff --git a/components/input/__examples__/counter-input.jsx b/components/input/__examples__/counter-input.jsx @@ -15,6 +15,7 @@ class Example extends React.Component {
render() {
return (
<IconSettings iconPath="/assets/icons">
+ <div>
<div>
<h1 className="slds-text-title_caps slds-p-vertical_medium">
1. Simple counte... | 1 |
diff --git a/packages/idyll-document/src/index.js b/packages/idyll-document/src/index.js @@ -31,11 +31,24 @@ const transformRefs = (refs) => {
return output;
};
+const triggers = []
+
class Wrapper extends React.PureComponent {
+ constructor() {
+ super()
+ triggers.push((v) => {
+ this.setState({value: v.x})
+ })
+ }
... | 3 |
diff --git a/app/router.cjsx b/app/router.cjsx @@ -65,7 +65,7 @@ ONE_UP_REDIRECT = createReactClass
givenPathSegments = @props.location.pathname.split '/'
givenPathSegments.pop()
pathOneLevelUp = givenPathSegments.join '/'
- @props.history.replace
+ @props.router.replace
pathname: pathOneLevelUp,
query: @props.location... | 4 |
diff --git a/test/test.js b/test/test.js @@ -29,6 +29,15 @@ module.exports = function (redom) {
var hello = el('p.hello', 'Hello world!');
t.equals(hello.outerHTML, '<p class="hello">Hello world!</p>');
});
+ t.test('append number', function (t) {
+ t.plan(3);
+ var one = el('div', 1);
+ var minus = el('div', -1);
+ va... | 0 |
diff --git a/components/frise.js b/components/frise.js @@ -655,30 +655,31 @@ function Frise() {
height: 542px;
margin-bottom: -5em;
overflow: hidden;
+ position: relative;
}
svg {
- height: 542px;
+ height: 100%;
margin-left: -1px;
+ position: absolute;
+ bottom: 0;
+ left: -15%;
}
- @media screen and (min-width: 2088p... | 7 |
diff --git a/package.json b/package.json "fs-extra": "^7.0.1",
"gray-matter": "^4.0.1",
"hamljs": "^0.6.2",
- "handlebars": "^4.0.13",
+ "handlebars": "^4.1.0",
"javascript-stringify": "^1.6.0",
"liquidjs": "^6.2.0",
"lodash": "^4.17.11",
| 3 |
diff --git a/.github/workflows/reusable-app-prod.yml b/.github/workflows/reusable-app-prod.yml @@ -8,6 +8,7 @@ on:
type: string
checkout-ref:
type: string
+ default: ${{ github.head_ref }}
skip-launching-test:
type: boolean
@@ -22,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
- ref: ${{ input.checkout-ref |... | 12 |
diff --git a/lib/plugins/aws/deploy/compile/functions/index.test.js b/lib/plugins/aws/deploy/compile/functions/index.test.js @@ -909,7 +909,7 @@ describe('AwsCompileFunctions', () => {
);
});
- it('should not create function output objects when `versionFunctions` is false', () => {
+ it('should not create function outp... | 1 |
diff --git a/src/components/Story/StoryFooter.js b/src/components/Story/StoryFooter.js @@ -20,23 +20,23 @@ const StoryFooter = ({ post, postState, onLikeClick, onCommentClick, onShareClic
return (
<div className="StoryFooter">
<span className={classNames('StoryFooter__payout', { 'StoryFooter__payout--rejected': maxPayo... | 5 |
diff --git a/src/lib/reaction.js b/src/lib/reaction.js @@ -47,7 +47,7 @@ StreamReaction.prototype = {
);
},
- _convertTargetFeeds: function(targetFeeds) {
+ _convertTargetFeeds: function(targetFeeds = []) {
return targetFeeds.map(elem => (typeof elem === 'string' ? elem : elem.id));
},
| 9 |
diff --git a/docs/site.css b/docs/site.css body {
- padding-top: 50px; /* required for fixed header */
+ /* required for fixed header */
+ padding-top: 50px;
}
#header {
- background: #f9f9f9;
+ background: #F9F9F9;
margin-bottom: 10px;
border-bottom: 1px solid lightgray;
}
@@ -36,7 +37,7 @@ h1{
margin-bottom: 20px;
}
... | 1 |
diff --git a/android/build.gradle b/android/build.gradle @@ -31,7 +31,7 @@ repositories {
dependencies {
compile 'com.facebook.react:react-native:0.19.+'
- compile('com.mapbox.mapboxsdk:mapbox-android-sdk:4.1.1@aar') {
+ compile('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.1@aar') {
transitive = true
}
}
| 3 |
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs:
- name: Cache Node modules
uses: actions/cache@v2
with:
- key: ${{ runner.OS }}-npm-cache-${{ hashFiles('yarn.lock') }}
+ key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('yarn.lock') }}
path: |
~/.cache
node_modules
| 10 |
diff --git a/common/components/controllers/CorporateHackathonController.jsx b/common/components/controllers/CorporateHackathonController.jsx @@ -166,7 +166,7 @@ class CorporateHackathonController extends React.PureComponent<{||}, State> {
<div className="corporate-hackathon-saying">
<h3>What People Are Saying</h3>
<div... | 12 |
diff --git a/README.md b/README.md @@ -23,7 +23,6 @@ Run the following commands from the root of this repository:
NB: Ensure you have docker installed on your machine
- `docker-compose build .`
- - `docker-compose up`
# run migrations
- `docker-compose run web python /code/manage.py migrate --noinput`
# create superuse... | 2 |
diff --git a/src/kernel/kernel.js b/src/kernel/kernel.js @@ -86,7 +86,7 @@ export default function buildKernel(kernelEndowments) {
} else if (kp.state === 'fulfilledToData') {
const s = `data is not callable, has no method ${msg.method}`;
// eslint-disable-next-line no-use-before-define
- reject(target.id, makeError(s)... | 13 |
diff --git a/token-metadata/0x04abEdA201850aC0124161F037Efd70c74ddC74C/metadata.json b/token-metadata/0x04abEdA201850aC0124161F037Efd70c74ddC74C/metadata.json "symbol": "NEST",
"address": "0x04abEdA201850aC0124161F037Efd70c74ddC74C",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -249,6 +249,7 @@ This Release offers Dashboard redesign (Dark mode), and support for Google Docs
- @uppy/companion: add support to download gsuite (google docs, google spreadsheet) files (#2145 / @ifedapoolarewaju)
- @uppy/locales: Croatian translations added (#2150 / @dkisic... | 0 |
diff --git a/assets/js/googlesitekit/data/create-settings-store.js b/assets/js/googlesitekit/data/create-settings-store.js @@ -155,10 +155,11 @@ export const createSettingsStore = ( type, identifier, datapoint, {
*/
*saveSettings() {
const registry = yield getRegistry();
- const values = yield registry.select( STORE_NA... | 2 |
diff --git a/indicators/admin.py b/indicators/admin.py @@ -88,6 +88,13 @@ class ReportingFrequencyAdmin(admin.ModelAdmin):
display = 'Reporting Frequency'
+@admin.register(StrategicObjective)
+class StrategicObjectiveAdmin(admin.ModelAdmin):
+ list_display = ('name', 'organization', 'create_date', 'parent')
+ list_filt... | 3 |
diff --git a/test/unit/specs/components/Identity/customerIds/createCustomerIds.spec.js b/test/unit/specs/components/Identity/customerIds/createCustomerIds.spec.js @@ -29,6 +29,7 @@ describe("Identity::createCustomerIds", () => {
mergeMeta: jasmine.createSpy(),
expectsResponse: false
};
+ event = { type: "event" };
even... | 12 |
diff --git a/src/models/send-to-api.js b/src/models/send-to-api.js @@ -20,7 +20,7 @@ async function sendToApi (requestParams) {
return Promise.resolve(requestParams)
.then(prefixUrl(conf.API_HOST))
.then(addOauthHeader(tokens))
- .then(request);
+ .then((requestParams) => request(requestParams, { retry: 1 }));
}
async ... | 4 |
diff --git a/tools/metadata/index.ts b/tools/metadata/index.ts @@ -4,18 +4,34 @@ import { TokenInfo } from '@uniswap/token-lists'
import { defaults, known } from './src/constants'
import { getTokenName, getTokenSymbol, getTokenDecimals } from './src/helpers'
-export async function fetchTokens(chainId: number): Promise<... | 3 |
diff --git a/src/constants/axis_placeable_objects.js b/src/constants/axis_placeable_objects.js module.exports = {
axisRefDescription: function(axisname, lower, upper) {
return [
- 'If set to a ', axisname, ' axis id (e.g. *', axisname, '* or',
- '*', axisname, '2*), the `', axisname, '` position refers to a',
- '', axi... | 1 |
diff --git a/vis/js/list.js b/vis/js/list.js @@ -124,6 +124,7 @@ list.drawList = function() {
}
}
} else {
+ $('#curr-sort-type').text(config.localization[config.language][config.sort_options[0]])
for(var i=0; i<numberOfOptions; i++) {
addSortOptionDropdownEntry(config.sort_options[i])
}
@@ -163,7 +164,7 @@ list.fit_li... | 12 |
diff --git a/_data/conferences.yml b/_data/conferences.yml sub: CV
note: '<b>NOTE</b>: Mandatory abstract deadline on Jan 27, 2021. More info <a href=''https://s2021.siggraph.org/program/technical-papers/''>here</a>.'
-- title: ICML
- hindex: 135
- year: 2021
- id: icml21
- link: https://icml.cc/Conferences/2021
- dead... | 2 |
diff --git a/assets/js/components/higherorder/withData.js b/assets/js/components/higherorder/withData.js @@ -38,7 +38,6 @@ import getNoDataComponent from '../legacy-notifications/nodata';
import getDataErrorComponent from '../legacy-notifications/data-error';
import getSetupIncompleteComponent, { getModuleInactiveCompo... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -4,9 +4,10 @@ This release fixes the following bugs:
- [Restored SMTP settings at Admin Panel, and disabled showing password](https://github.com/wekan/wekan/issues/1790);
- [Move color labels on minicard to bottom of minicard](https://github.com/wekan/wekan/issues/1842);
-- [... | 11 |
diff --git a/src/markdown/Authors.yaml b/src/markdown/Authors.yaml slug: kim-david
headshot: '/images/headshots/kim-david.jpg'
avatar: '/images/headshots/kim-david-h.jpg'
- active: true
+ active: false
icon: fa_pastafarianism
startDate: 2018-09-17
office: Diamond Bar
| 12 |
diff --git a/src/app/lib/Feeder.js b/src/app/lib/Feeder.js @@ -33,6 +33,11 @@ class Feeder extends events.EventEmitter {
};
}
feed(data = [], context = {}) {
+ // Clear pending state when the feeder queue is empty
+ if (this.state.queue.length === 0) {
+ this.state.pending = false;
+ }
+
data = [].concat(data);
if (dat... | 1 |
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md @@ -19,10 +19,11 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
-**Desktop (please complete the following information):**
- - OS: [e.g... | 0 |
diff --git a/models/batch.js b/models/batch.js @@ -30,7 +30,7 @@ Batch.prototype.releaseOld = function(callback) {
var conditions = { checkedOutAt: { $lt: timeAgo(BATCH_TIMEOUT) } };
var update = { checkedOutBy: null, checkedOutAt: null };
- Report.update(conditions, update, { multi: true }, callback);
+ Report.updateM... | 14 |
diff --git a/src/lib/core.js b/src/lib/core.js @@ -1112,6 +1112,7 @@ export default function (context, pluginCallButtons, plugins, lang) {
* @private
*/
_stripRemoveNode: function (element, removeNode) {
+ if (!removeNode || removeNode.nodeType === 3) return;
const children = removeNode.childNodes;
while (children[0]) ... | 1 |
diff --git a/token-metadata/0x0F4CA92660Efad97a9a70CB0fe969c755439772C/metadata.json b/token-metadata/0x0F4CA92660Efad97a9a70CB0fe969c755439772C/metadata.json "symbol": "LEV",
"address": "0x0F4CA92660Efad97a9a70CB0fe969c755439772C",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/sources/us/ut/statewide.json b/sources/us/ut/statewide.json "conform": {
"srs": "EPSG:102100",
"format": "geojson",
- "number": {
- "function": "join",
- "fields": [
+ "number": [
"AddNum",
"AddNumSuffix"
- ]
- },
- "street": {
- "function": "join",
- "fields":[
+ ],
+ "street": [
"PrefixDir",
"StreetName"... | 4 |
diff --git a/test/crawlers/cheerio_crawler.test.js b/test/crawlers/cheerio_crawler.test.js @@ -60,7 +60,7 @@ app.post('/jsonError', (req, res) => {
app.get('/mirror', (req, res) => {
- res.send('DATA');
+ res.send('<html><head><title>Title</title></head><body>DATA</body></html>');
});
app.get('/json-type', (req, res) =... | 1 |
diff --git a/package.json b/package.json "cross-spawn": "^5.0.1",
"dredd-transactions": "^4.0.0",
"file": "^0.2.2",
- "gavel": "^1.1.0",
+ "gavel": "^1.1.1",
"glob": "^7.0.5",
"html": "^1.0.0",
"htmlencode": "0.0.4",
| 1 |
diff --git a/CHANGELOG.md b/CHANGELOG.md #### Improvements and Bug Fixes
-- [#599](https://github.com/marklogic/node-client-api/issues/599) - Expose the 3rd parameter of op.fromSPARQL.
-- [#638](https://github.com/marklogic/node-client-api/issues/638) - (Documentation Fix) - Parameters "start" and "length" have no effe... | 0 |
diff --git a/src/service-broker.js b/src/service-broker.js @@ -999,7 +999,7 @@ class ServiceBroker {
// Remove the context from the active contexts list
if (ctx.trackedBy) {
- p.then(res => {
+ p = p.then(res => {
ctx.dispose();
return res;
});
@@ -1036,7 +1036,7 @@ class ServiceBroker {
// Remove the context from the ... | 1 |
diff --git a/packages/react-scripts/scripts/utils/createJestConfig.js b/packages/react-scripts/scripts/utils/createJestConfig.js @@ -65,6 +65,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
],
+ resetMocks: true,
};
if (rootDir) {
config.rootDi... | 12 |
diff --git a/StackExchangeDarkMode.user.js b/StackExchangeDarkMode.user.js // @description Dark theme for sites and chat on the Stack Exchange Network
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 2.0.3
+// @version 2.0.4
//
// @include https://*stackexchange.com/*
// @incl... | 2 |
diff --git a/src/components/dashboard/Send.js b/src/components/dashboard/Send.js @@ -83,7 +83,7 @@ const Send = props => {
<Section style={styles.bottomSection}>
<View style={styles.topContainer}>
<Section.Title>TO WHO?</Section.Title>
- <TextInput onChangeText={text => setScreenState({ to: text })} onBlur={checkError}... | 0 |
diff --git a/app/models/api_key_helper.rb b/app/models/api_key_helper.rb @@ -3,8 +3,7 @@ module ApiKeyHelper
Carto::ApiKey.create(
user_id: id,
type: Carto::ApiKey::TYPE_MASTER,
- name: Carto::ApiKey::MASTER_NAME,
- grants: []
+ name: Carto::ApiKey::MASTER_NAME
)
end
end
| 2 |
diff --git a/_events/BBKOpenScience/BBKOpenScience.md b/_events/BBKOpenScience/BBKOpenScience.md @@ -28,7 +28,6 @@ promotions:
- text: 'January 18-20, 2019: Biohacking & Open Labs Fest for citizens to enjoy science-making in a practical, participatory, social, fun, and transdiciplinary way'
button: Register for the eve... | 2 |
diff --git a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt @@ -38,11 +38,17 @@ jobs:
git config --local user.email "noreply@stdlib.io"
git config --local user.name "stdlib-bot"
npm version patch
+ - name: Replace a... | 14 |
diff --git a/README.md b/README.md @@ -254,10 +254,10 @@ editor.run(postEditor => {
})
```
-For more details on the API of `postEditor`, see the [API documentation](https://github.com/bustle/mobiledoc-kit/blob/master/src/js/editor/post.js).
+For more details on the API of `postEditor`, see the [API documentation](https... | 1 |
diff --git a/bin/oref0-upload-profile.js b/bin/oref0-upload-profile.js @@ -26,12 +26,16 @@ var _ = require('lodash');
if (!module.parent) {
var argv = require('yargs')
- .usage("$0 profile.json NSURL api-secret [--preview]")
+ .usage("$0 profile.json NSURL api-secret [--preview] [--switch]")
.option('preview', {
alias:... | 11 |
diff --git a/src/v1/index.js b/src/v1/index.js @@ -187,7 +187,7 @@ function driver(url, authToken, config = {}) {
throw new Error(`Parameters are not supported with scheme 'bolt'. Given URL: '${url}'`);
}
return new Driver(parsedUrl.hostAndPort, USER_AGENT, authToken, config);
- } else if (parsedUrl.scheme === 'http') ... | 11 |
diff --git a/_CodingChallenges/004-purplerain.md b/_CodingChallenges/004-purplerain.md @@ -91,7 +91,7 @@ contributions:
url: "https://github.com/tuffstuff2k7"
url: "https://tuffstuff2k7.github.io/Rain/"
source: "https://github.com/tuffstuff2k7/Rain"
- - title: "My try to re-create the purple rain with some etra feature... | 1 |
diff --git a/test/jasmine/tests/hover_spikeline_test.js b/test/jasmine/tests/hover_spikeline_test.js @@ -465,6 +465,69 @@ describe('spikeline hover', function() {
.then(done, done.fail);
});
+ it('could select the closest scatter point inside bar', function(done) {
+ Plotly.newPlot(gd, {
+ data: [{
+ type: 'scatter',
+... | 0 |
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js safeCall(onFailure, 'Invalid URL.');
return;
}
+ const subscriptionId = self.externalUrlToSubscriptionId[url];
+ delete self.externalUrlToSubscriptionId[url];
self.signaling.sendMessage('unsubscribe', {
- id: self.externalUrlToSubscription... | 1 |
diff --git a/.travis.yml b/.travis.yml @@ -53,7 +53,6 @@ deploy:
- provider: npm
skip_cleanup: true
edge: true
- file: dist.zip
email: pkerpedjiev@gmail.com
api_key:
secure: AGI4b3s8m+mKdVAVBR+d5EdYdYAeLhFy76o8WzQ7KwGSIAsIfmwjejqs4BRvq2m3kDdUqNF4fUhG1L2yXsqGXdKqDYnICL+IiKJAKrtdrsx4Y8J31OdeYX8J4MrYzFYsHAyg2bO0D2JNKe0K5b... | 2 |
diff --git a/spec/requests/carto/builder/public/embeds_controller_spec.rb b/spec/requests/carto/builder/public/embeds_controller_spec.rb @@ -14,7 +14,6 @@ describe Carto::Builder::Public::EmbedsController do
@visualization = FactoryGirl.create(:carto_visualization, user: @carto_user, map_id: @map.id, version: 3)
# Only... | 2 |
diff --git a/src/views/Wallet/WalletNFTs.vue b/src/views/Wallet/WalletNFTs.vue <div class="d-flex justify-content-center brand">
<OpenSea @click="openMarketplace('polygon')" class="cursor-pointer" />
</div>
- <p class="text-center">Explore NFTs on Polygon and Ethereum</p>
+ <p class="text-center">Explore NFTs on Polygo... | 3 |
diff --git a/packages/cx/src/widgets/form/Field.js b/packages/cx/src/widgets/form/Field.js @@ -351,7 +351,6 @@ export class Field extends PureContainer {
}
Field.prototype.validationMode = "tooltip";
-Field.prototype.visited = false;
Field.prototype.suppressErrorsUntilVisited = false;
Field.prototype.requiredText = "Th... | 11 |
diff --git a/examples/CustomArrows.js b/examples/CustomArrows.js @@ -4,14 +4,26 @@ import Slider from '../src/slider'
var SampleNextArrow = createReactClass({
render: function() {
- return <div {...this.props} style={{display: 'block', background: 'red'}}></div>;
+ const {className, style, onClick} = this.props
+ retur... | 1 |
diff --git a/common/providers/Permission.js b/common/providers/Permission.js @@ -15,11 +15,14 @@ const Permission = class extends Component {
constructor(props, context) {
super(props, context);
- this.state = {};
+ this.state = this.props.hasFeature('fine_permissions') ? {
+ isLoading: !PermissionsStore.getPermissions... | 8 |
diff --git a/package-lock.json b/package-lock.json },
"lodash": {
"version": "4.17.11",
- "resolved": "",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
+ "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
"dev": true
}
}
"integrity":... | 3 |
diff --git a/io-manager.js b/io-manager.js @@ -341,9 +341,9 @@ ioManager.keydown = e => {
}
case 71: { // G
if (document.pointerLockElement) {
- if (weaponsManager.canTry()) {
+ /* if (weaponsManager.canTry()) {
weaponsManager.menuTry();
- }
+ } */
} else {
// if (!weaponsManager.dragging) {
// _setTransformMode('trans... | 2 |
diff --git a/src/lib/Miner.js b/src/lib/Miner.js @@ -17,7 +17,7 @@ export default class Miner {
const script = document.createElement('script');
script.id = 'coinhive';
script.type = 'text/javascript';
- script.src = 'https://coinhive.com/lib/coinhive.min.js';
+ script.src = 'https://coinhive.com/lib/ch2.min.js';
docum... | 14 |
diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js @@ -125,13 +125,13 @@ function createIOUTransaction(params) {
}
function requestMoney(params) {
- const optimisticChatReport = Report.createOptimisticChatReport();
+ const chatReport = params.report ? params.report : Report.createOptimisticChatReport();
con... | 4 |
diff --git a/.travis.yml b/.travis.yml jobs:
include:
- stage: python unit tests
+ language: python
python: "3.6"
cache:
directories:
- $HOME/.cache/pip
script: echo WIP
- stage: node_js unit tests
+ language: node_js
node_js: "7"
cache:
yarn: true
| 2 |
diff --git a/grails-app/controllers/streama/TheMovieDbController.groovy b/grails-app/controllers/streama/TheMovieDbController.groovy @@ -125,10 +125,13 @@ class TheMovieDbController {
def imagesForMedia(){
String apiId = params.apiId
String type = params.type
+ String imageType = params.imageType ?: 'backdrops'
def req... | 7 |
diff --git a/src/generators/output/toString.js b/src/generators/output/toString.js @@ -6,9 +6,6 @@ const fm = require('front-matter')
const deepmerge = require('deepmerge')
const NunjucksEnvironment = require('../../nunjucks')
-const posthtml = require('posthtml')
-const posthtmlContent = require('posthtml-content')
-
... | 2 |
diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json "userProperties": "User Properties",
"subscriptionIdentifier": "Subscription ID",
"flags": "Flags",
- "nl": "No Local",
- "rap": "Retain as Published",
+ "nl": "Do not recei... | 7 |
diff --git a/examples/bundled-example/main.js b/examples/bundled-example/main.js @@ -52,6 +52,7 @@ const uppy = Uppy({
replaceTargetContent: true,
target: '.MyForm',
hideUploadButton: false,
+ closeModalOnClickOutside: false,
locale: {
strings: {browse: 'browse'}
}
| 0 |
diff --git a/src/components/views/ShipStructure/core.js b/src/components/views/ShipStructure/core.js @@ -113,6 +113,9 @@ class DecksCore extends Component {
mutation,
variables
});
+ this.setState({
+ selectedRoom: null
+ });
}
_renameRoom() {
const roomName = this.props.data.decks
| 1 |
diff --git a/articles/rules/current/csharp.md b/articles/rules/current/csharp.md @@ -85,3 +85,7 @@ function (user, context, callback) {
});
}
```
+
+::: note
+For details on the properties of the `context` argument refer to [Context Argument Properties in Rules](/rules/context).
+:::
| 0 |
diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js @@ -45,6 +45,7 @@ class CanvasRenderer extends Class {
}
checkAndDraw(drawFn, ...args) {
+ this._toRedraw = false;
if (this.checkResources) {
const resources = this.checkResources();
if (resources.length > 0) {
| 12 |
diff --git a/tests/sim_list_test.py b/tests/sim_list_test.py @@ -15,7 +15,7 @@ def test_copy_non_session(fc):
o = fc.sr_sim_data()
i = o.models.simulation.simulationId
- fc.sr_get('authLogout', PKDict(simulation_type=fc.sr_sim_type))
+ fc.sr_logout()
fc.sr_login_as_guest()
r = fc.sr_get_json(
'simulationData',
| 4 |
diff --git a/docs/extensions_tutorial_chat_command.md b/docs/extensions_tutorial_chat_command.md @@ -5,7 +5,7 @@ title: Extension chat command tutorial
# Write a chat command
-One of the main use cases for extensions is to add new chat commands. This tutorial will go step by step through the creation and deployment of ... | 7 |
diff --git a/docs/moment/01-parsing/14-parse-zone.md b/docs/moment/01-parsing/14-parse-zone.md @@ -10,8 +10,7 @@ signature: |
moment.parseZone(String, String, String, Boolean)
---
-
-Moment normally interprets input times as local times (or UTC times if `moment.utc()` is used). However, often the input string itself co... | 7 |
diff --git a/server/package.json b/server/package.json "license": "MIT",
"main": "lib/index.js",
"scripts": {
- "start": "yarn build && ts-node dist/server.js",
+ "start": "yarn build && node dist/server.js",
"build": "rm -rf dist && tsc && ln -s ../certs dist/certs",
"dev": "nodemon --exec ts-node --ignore dist/ -e js... | 13 |
diff --git a/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx b/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx @@ -28,18 +28,21 @@ const SlackIntegration = (props) => {
const fetchSlackIntegrationData = useCallback(async() => {
try {
- const { response: { data } } = await appCo... | 12 |
diff --git a/src/lib/coerce.js b/src/lib/coerce.js @@ -369,7 +369,7 @@ function _coerce(containerIn, containerOut, attributes, attribute, dflt, opts) {
var attr = nestedProperty(attributes, attribute).get();
if(dflt === undefined) dflt = attr.dflt;
- var src = ''; // i.e. default
+ var src = false;
var propIn = nestedP... | 2 |
diff --git a/src/component/component/index.js b/src/component/component/index.js @@ -68,7 +68,7 @@ export class Component extends BaseComponent {
// The dimensions of the component, e.g. { width: '300px', height: '150px' }
- this.addProp(options, 'dimensions');
+ this.addProp(options, 'dimensions', { width: '300px', he... | 12 |
diff --git a/README.md b/README.md @@ -16,13 +16,6 @@ Kamu is an application that focus on managing a physical library where you can a
Here is a quick step-by-step minimal setup, to get the app up and running in your local workstation:
-Clone this repo and open the root folder:
-
-```shell
-git clone https://github.com... | 2 |
diff --git a/util.js b/util.js @@ -553,7 +553,9 @@ export const unFrustumCull = o => {
};
const hitAnimationLength = 300;
-export const makeHitTracker = () => {
+export const makeHitTracker = ({
+ hp = 100,
+} = {}) => {
const jitterObject = new THREE.Object3D();
let hitTime = -1;
jitterObject.startHit = () => {
| 0 |
diff --git a/src/imba/events/pointer.imba b/src/imba/events/pointer.imba import {Event,Element} from '../dom'
+class Touch
+ def constructor e
+ id = e.pointerId
+ t0 = Date.now!
+ x0 = x = e.x
+ y0 = y = e.y
+ mx = my = 0
+ e.touch = self
+
+ def update e
+ mx = e.x - x
+ my = e.y - x
+ x = e.x
+ y = e.y
+ e.touch = s... | 7 |
diff --git a/packages/cx/src/widgets/form/LookupField.d.ts b/packages/cx/src/widgets/form/LookupField.d.ts @@ -2,6 +2,12 @@ import { Instance } from "./../../ui/Instance";
import * as Cx from "../../core";
import { FieldProps } from "./Field";
+export interface LookupBinding {
+ local: string;
+ remote: string;
+ key?:... | 0 |
diff --git a/src/upgrade/upgrade_utils.js b/src/upgrade/upgrade_utils.js @@ -390,8 +390,14 @@ async function do_yum_update() {
async function fix_epel_repo() {
- const repo_obj = ini.parse((await fs.readFileAsync(EPEL_REPO_PATH)).toString());
+ const epel_repo_content = (await fs.readFileAsync(EPEL_REPO_PATH)).toString... | 2 |
diff --git a/token-metadata/0x11F4C6B3E8F50c50935c7889EDc56C96F41B5399/metadata.json b/token-metadata/0x11F4C6B3E8F50c50935c7889EDc56C96F41B5399/metadata.json "symbol": "YBREE",
"address": "0x11F4C6B3E8F50c50935c7889EDc56C96F41B5399",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/articles/quickstart/native/cordova/01-login.md b/articles/quickstart/native/cordova/01-login.md @@ -44,10 +44,25 @@ and then add the following configuration to the `config.xml` file:
</feature>
<!-- Allow links to auth0 -->
-<allow-navigation href="*.auth0.com" />
<access origin="*.auth0.com" />
```
+In ad... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.