code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/README.md b/README.md @@ -46,10 +46,9 @@ _Follow steps as necessary. If you already have Reaction installed, you may be a
- Open devtools and copy the Meteor.loginToken from `localStorage`.
6. Setup the Storefront environment
- Navigate to the `reaction-next-starterkit` directory and create a `.env` file. ... | 2 |
diff --git a/src/components/common/view/Icon/config.json b/src/components/common/view/Icon/config.json "icons-copy"
]
},
- {
- "uid": "e385a865f5bb6a66d270c47d51ed3cdd",
- "css": "logout",
- "code": 59461,
- "src": "custom_icons",
- "selected": true,
- "svg": {
- "path": "M497 293.8H593.2V46.3A47.2 47.2 0 0 0 545.2-0.1... | 2 |
diff --git a/.travis.yml b/.travis.yml @@ -35,8 +35,10 @@ deploy:
tag_name: "$TRAVIS_TAG"
name: "$TRAVIS_TAG"
body:
- Automated release from Travis CI with added files from AppVeyor build
- api_key: "$GITHUB_TOKEN"
+ "Automated release from Travis CI with added files from AppVeyor build"
+ api_key:
+ secure:
+ HV4BRj0N... | 14 |
diff --git a/docs-website/pages/plugins-releases-54.md b/docs-website/pages/plugins-releases-54.md ---
-title: Sketch 54
+title: New in Sketch 54
summary: API to let plugins react to events in the app.
section: plugins
-chapter: JS API Releases
-permalink: /plugins/release-54
+chapter: JavaScript API Updates
+permalink... | 7 |
diff --git a/edit.js b/edit.js @@ -147,7 +147,7 @@ const highlightMesh = new THREE.Mesh(
highlightMesh.visible = false;
highlightScene.add(highlightMesh);
-const _makeTextMesh = (text, fontSize) => {
+const _makeTextMesh = (text, fontSize, clippingPlanes) => {
const textMesh = new TextMesh();
textMesh.text = text;
text... | 0 |
diff --git a/app/components/member/New.js b/app/components/member/New.js @@ -146,9 +146,12 @@ class MemberNew extends React.PureComponent {
const role = this.state.role;
- const teams = this.state.teams.map((id) => {
+ let teams = [];
+ if(this.state.teams) {
+ teams = this.state.teams.map((id) => {
return { id: id, ro... | 9 |
diff --git a/components/Notifications/enhancers.js b/components/Notifications/enhancers.js @@ -217,7 +217,7 @@ const notificationCountQuery = gql`
${notificationInfo}
`
-const markAsReadMutation = gql`
+const MARK_NOTIFICATION_AS_READ_MUTATION = gql`
mutation markNotificationAsRead($id: ID!) {
markNotificationAsRead(id... | 10 |
diff --git a/app/shared/actions/validate.js b/app/shared/actions/validate.js @@ -126,7 +126,7 @@ export function validateKey(key) {
// Establish EOS connection
eos(connection).getAccount(settings.account).then((account) => {
// Keys must resolve to one of these types of permissions
- const permissions = ['active'];
+ c... | 11 |
diff --git a/.solcover.js b/.solcover.js @@ -4,5 +4,5 @@ module.exports = {
copyPackages: ['openzeppelin-solidity'],
testCommand: 'node ../node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js` --network coverage',
deepSkip: true,
- skipFiles: ['external', 'flat'... | 8 |
diff --git a/articles/pre-deployment/index.html b/articles/pre-deployment/index.html @@ -36,4 +36,10 @@ title: Pre-Deployment Tests
</li>
</ul>
</li>
+ <li>
+ <i class="icon icon-budicon-715"></i><a href="/prelaunch-tips">Pre-Launch Tips</a>
+ <p>
+ A list of tips our customers have found most useful when first getting... | 0 |
diff --git a/src/encoded/schemas/biosample.json b/src/encoded/schemas/biosample.json ]
},
"model_organism_sex": {
- "title": "Sex",
+ "title": "Model organism sex",
"type": "string",
- "description": "The sex of the organism the biosample comes from.",
+ "description": "The sex of the model organism the biosample comes... | 10 |
diff --git a/src/errors.js b/src/errors.js @@ -24,5 +24,6 @@ export class ApifyCallError extends Error {
/**
* TimeoutError class.
* This error should be thrown after request timeout from `requestAsBrowser`.
+ * @ignore
*/
export class TimeoutError extends Error {}
| 8 |
diff --git a/lib/assets/javascripts/builder/components/input-color/input-qualitative-ramps/main-view.js b/lib/assets/javascripts/builder/components/input-color/input-qualitative-ramps/main-view.js @@ -47,7 +47,6 @@ module.exports = CoreView.extend({
this._imageEnabled = opts.imageEnabled;
this._hideTabs = opts.hideTabs... | 14 |
diff --git a/src/embeds/WeaponEmbed.js b/src/embeds/WeaponEmbed.js @@ -19,7 +19,6 @@ class WeaponEmbed extends BaseEmbed {
this.url = weapon.url || '';
this.thumbnail = { url: weapon.thumbnail || '' };
this.description = `${weapon.type} ${weapon.subtype ? `| ${weapon.subtype}` : ''}`;
- this.footer = { text: `Drops fro... | 2 |
diff --git a/src/regions/Result.js b/src/regions/Result.js @@ -72,7 +72,7 @@ const Result = types
},
get mainValue() {
- return self.value[self.type];
+ return self.value[self.from_name._type];
},
get editable() {
@@ -152,13 +152,14 @@ const Result = types
serialize() {
const { from_name, to_name, type, score, value } ... | 7 |
diff --git a/contracts/HavvenEscrow.sol b/contracts/HavvenEscrow.sol @@ -195,7 +195,6 @@ contract HavvenEscrow is Owned, LimitedSetup(8 weeks), SafeDecimalMath {
delete vestingSchedules[account];
totalVestedBalance = safeSub(totalVestedBalance, totalVestedAccountBalance[account]);
delete totalVestedAccountBalance[accou... | 2 |
diff --git a/src/comments/Comments.js b/src/comments/Comments.js @@ -95,7 +95,7 @@ export default class Comments extends Component {
return (<Loading />);
}
- if (fetchedCommentsList && fetchedCommentsList.length) {
+ if (fetchedCommentsList) {
return (
<CommentsList
comments={fetchedCommentsList}
| 3 |
diff --git a/source/plugins/contributors/metadata.yml b/source/plugins/contributors/metadata.yml @@ -30,7 +30,7 @@ inputs:
description: Contributors to ignore
type: array
format: comma-separated
- default: github-actions[bot]
+ default: github-actions[bot], dependabot[bot]
# Display total contributions for each contrib... | 8 |
diff --git a/.env.example b/.env.example SITE_URL="http://ghost.local:8000"
-GHOST_API_URL="https://docs-test.ghost.io"
-GHOST_API_KEY="87de3a12779c"
-ALGOLIA_ADMIN_KEY="<replace with api key>"
+# These are all public keys, deliberately committed
+GHOST_API_URL="https://docs.ghost.io"
+GHOST_API_KEY="af3707f559ae"
+ALG... | 4 |
diff --git a/includes/Core/Permissions/Permissions.php b/includes/Core/Permissions/Permissions.php @@ -448,7 +448,7 @@ final class Permissions {
}
/**
- * Gets all the capabilities specifically added for dashboard sharing.__resizable_base__
+ * Gets all the capabilities specifically added for dashboard sharing.
*
* @si... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,15 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.49.5] -- 2019-09-18
+
+### Fixed
+- Clear rejected promises from queue when calling `Plotly.react` [#4197]
+- Do not attempt to remov... | 3 |
diff --git a/OpenRobertaServer/staticResources/js/app/simulation/robertaLogic/program.eval.js b/OpenRobertaServer/staticResources/js/app/simulation/robertaLogic/program.eval.js @@ -72,7 +72,7 @@ define(['robertaLogic.actors', 'robertaLogic.memory', 'robertaLogic.program', 'r
case CONSTANTS.IF_STMT:
evalIf(internal(this... | 9 |
diff --git a/src/data/performance.test.js b/src/data/performance.test.js @@ -4,7 +4,7 @@ import decodePerformance from "./performance";
describe("Performance", () => {
describe("decoder", () => {
- it("correctly decodes valid CMS sponsor", () => {
+ it("correctly decodes valid CMS performance", () => {
const data: mixe... | 1 |
diff --git a/src/encoded/search.py b/src/encoded/search.py @@ -665,7 +665,7 @@ def iter_long_json(name, iterable, other):
yield ']' + other_stuff + '}'
@view_config(route_name='search', request_method='GET', permission='search')
-def search(context, request, search_type=None, return_generator=False):
+def search(contex... | 2 |
diff --git a/models/users.js b/models/users.js @@ -108,6 +108,10 @@ Users.attachSchema(new SimpleSchema({
type: Boolean,
optional: true,
},
+ fromAdmin: {
+ type: Boolean,
+ optional: false,
+ },
}));
// Search a user in the complete server database by its name or username. This
@@ -435,6 +439,12 @@ if (Meteor.isServer... | 11 |
diff --git a/src/reducers/index.js b/src/reducers/index.js // @flow
import { combineReducers } from "redux";
+import { DateTime } from "luxon";
import events from "./events";
import type { State as EventsState } from "./events";
import eventFilters from "./event-filters";
import type { State as EventFiltersState } from... | 0 |
diff --git a/src/components/views/Sensors/SensorGrid.js b/src/components/views/Sensors/SensorGrid.js @@ -133,11 +133,14 @@ class SensorGrid extends Component{
if (intersection) {
const obj = {};
- const contact = this.state.draggingContact;
+
+ const contact = this.props.data.sensorContacts.find((contact) => contact.id... | 1 |
diff --git a/packages/app/src/pages/[[...path]].page.tsx b/packages/app/src/pages/[[...path]].page.tsx @@ -314,10 +314,11 @@ async function getPageData(context: GetServerSidePropsContext, props: Props): Pr
const result: IPageWithMeta = await pageService.findPageAndMetaDataByViewer(pageId, currentPathname, user, true); ... | 4 |
diff --git a/token-metadata/0x8E870D67F660D95d5be530380D0eC0bd388289E1/metadata.json b/token-metadata/0x8E870D67F660D95d5be530380D0eC0bd388289E1/metadata.json "symbol": "PAX",
"address": "0x8E870D67F660D95d5be530380D0eC0bd388289E1",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/js/base/module/Buttons.js b/src/js/base/module/Buttons.js @@ -655,8 +655,8 @@ export default class Buttons {
build($container, groups) {
for (let groupIdx = 0, groupLen = groups.length; groupIdx < groupLen; groupIdx++) {
const group = groups[groupIdx];
- const groupName = group[0];
- const buttons = (g... | 11 |
diff --git a/docs/docs/05-configuration.md b/docs/docs/05-configuration.md @@ -46,7 +46,6 @@ $ snowpack dev --no-bundle
"unistore/full/preact.es.js", // An ESM file within a package (supports globs)
"bulma/css/bulma.css" // A non-JS static asset (supports globs)
],
- "homepage": "/your-project",
"scripts": { /* ... */ ... | 2 |
diff --git a/package.json b/package.json "build-server": "npm run build && node ./scripts/build-electron-server.js",
"lint": "eslint .",
"cloc": "cloc . --exclude-dir=node_modules,config,scripts",
- "test": "npm run lint && npm run flow && jest",
+ "test": "npm run lint && jest",
"flow": "flow",
"precommit": "lint-stag... | 2 |
diff --git a/lib/util.js b/lib/util.js @@ -113,7 +113,12 @@ util.log = async (message, logMessage, logEmbed) => {
return;
}
try {
+ if (logMessage && logEmbed)
await message.guild.channels.resolve(guilds.get(message.guild.id).logChannel).send(logMessage, new Discord.MessageEmbed(logEmbed));
+ else if (logMessage)
+ awa... | 11 |
diff --git a/core/algorithm-builder/environments/java/dockerfile/DockerfileTemplate b/core/algorithm-builder/environments/java/dockerfile/DockerfileTemplate @@ -3,7 +3,6 @@ LABEL maintainer="hkube.dev@gmail.com"
ENV PACKAGES_REGISTRY_USER ${PACKAGES_REGISTRY_USER}
ENV PACKAGES_TOKEN ${PACKAGES_TOKEN}
COPY ./dockerfile/... | 2 |
diff --git a/apigateway.go b/apigateway.go @@ -501,6 +501,17 @@ func (api *API) LogicalResourceName() string {
return CloudFormationResourceName("APIGateway", api.name)
}
+// RestAPIURL returns the dynamically assigned
+// Rest API URL including the scheme
+func (api *API) RestAPIURL() *gocf.StringExpr {
+ return gocf.... | 0 |
diff --git a/app/models/table/user_table.rb b/app/models/table/user_table.rb @@ -87,24 +87,6 @@ class UserTable < Sequel::Model
def_delegators :relator, :affected_visualizations
- def_dataset_method(:search) do |query|
- conditions = <<-EOS
- to_tsvector('english', coalesce(name, '') || ' ' || coalesce(description, '')... | 2 |
diff --git a/src/extensions/scratch3_microbit/index.js b/src/extensions/scratch3_microbit/index.js @@ -620,7 +620,7 @@ class Scratch3MicroBitBlocks {
opcode: 'displayText',
text: formatMessage({
id: 'microbit.displayText',
- default: 'display [TEXT]',
+ default: 'display text [TEXT]',
description: 'display text on the ... | 10 |
diff --git a/server/game/triggeredability.js b/server/game/triggeredability.js @@ -26,8 +26,7 @@ class TriggeredAbility extends BaseAbility {
const DefaultLocationForType = {
event: 'hand',
- agenda: 'agenda',
- plot: 'active plot'
+ province: 'province'
};
this.game = game;
| 3 |
diff --git a/tests/jsunit/block_test.js b/tests/jsunit/block_test.js @@ -264,9 +264,9 @@ function test_set_style() {
var styleStub = {
getBlockStyle: function() {
return{
- "primaryColour": "colour1",
- "secondaryColour":"colour2",
- "tertiaryColour":"colour3"
+ "primaryColour": "#FFFFFF",
+ "secondaryColour":"#AABBCC"... | 1 |
diff --git a/website_code/scripts/xapi_dashboard.js b/website_code/scripts/xapi_dashboard.js @@ -79,6 +79,22 @@ xAPIDashboard.prototype.displayFrequencyGraph = function(statements, element) {
begin.setDate(begin.getDate() - 1);
end = new Date(dashstatements[dashstatements.length - 1].timestamp);
end.setDate(end.getDate... | 7 |
diff --git a/src/selectors/dataSelectors.js b/src/selectors/dataSelectors.js @@ -254,13 +254,24 @@ export const visibleRowCountSelector = createSelector(
);
// TODO: Needs tests and jsdoc
-export const cellValueSelector = (state, { griddleKey, columnId }) => {
+export const cellValueSelector = (state, props) => {
+ con... | 0 |
diff --git a/test/routes/v2-launches.test.js b/test/routes/v2-launches.test.js @@ -97,8 +97,8 @@ test('It should return a specific Launch info', async () => {
expect(item).toHaveProperty('mission_name', expect.anything());
expect(item).toHaveProperty('launch_year', expect.stringMatching(/^[0-9]{4}$/));
expect(item).toH... | 11 |
diff --git a/src/components/Goban.js b/src/components/Goban.js @@ -85,8 +85,8 @@ class GobanVertex extends Component {
h('span', {title: label})
),
- heat != null && h('div', {class: 'heat'}),
- paint != null && h('div', {class: 'paint'}),
+ !!heat && h('div', {class: 'heat'}),
+ !!paint && h('div', {class: 'paint'}),
... | 2 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -392,6 +392,9 @@ apis:
- title: API Tokens
url: "/api/management/v2/tokens"
forceFullReload: true
+ children:
+ - title: Changes
+ url: "/api/management/v2/tokens-flows"
- title: Query String Syntax
url: "/api/management/v2/query-string-syntax"
@@ -401,6 +404,10 @... | 0 |
diff --git a/lib/classes/Service.js b/lib/classes/Service.js @@ -92,7 +92,7 @@ class Service {
};
}
- const providers = ['aws', 'azure', 'google', 'openwhisk'];
+ const providers = ['aws', 'azure', 'google', 'openwhisk', 'webtasks'];
if (providers.indexOf(serverlessFile.provider.name) === -1) {
const errorMessage = [
`... | 11 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -98,8 +98,9 @@ After that:
Our tests use [shoulda.js](https://github.com/philc/shoulda.js) and
[Puppeteer](https://github.com/puppeteer/puppeteer). To run the tests:
- 1. Install [nodejs](https://nodejs.org/) if you don't have it already.
- 1. `npm install puppeteer` to... | 14 |
diff --git a/tests/helpers/webdriver-wrapper.js b/tests/helpers/webdriver-wrapper.js @@ -150,9 +150,9 @@ exports.quit = () => driver.quit();
* @param {Number} timeout How long to wait until page is loaded
* @return {Promise} Promise that will be resolved when the document has finished loading
*/
-function getUrl(url, t... | 12 |
diff --git a/source/datastore/query/LocalQuery.js b/source/datastore/query/LocalQuery.js -import { Class, guid } from '../../core/Core';
+import { Class } from '../../core/Core';
import sortByProperties from '../../core/sortByProperties';
import Query from './Query';
import { EMPTY, READY, OBSOLETE } from '../record/St... | 0 |
diff --git a/src/encoded/tests/test_types_antibody_lot.py b/src/encoded/tests/test_types_antibody_lot.py @@ -408,3 +408,72 @@ def test_multi_lane_primary(testapp,
if review['biosample_term_name'] == 'HepG2':
assert review['status'] == 'not characterized to standards'
assert review['detail'] == 'Awaiting a compliant pri... | 0 |
diff --git a/snippets/server-platforms/rails/setup.md b/snippets/server-platforms/rails/setup.md @@ -7,8 +7,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
'${account.namespace}',
callback_path: '/auth/oauth2/callback',
authorize_params: {
- scope: 'openid profile',
- audience: 'https://${account.name... | 2 |
diff --git a/app/es_indices/observation_index.rb b/app/es_indices/observation_index.rb @@ -263,14 +263,14 @@ class Observation < ActiveRecord::Base
unless o.indexed_private_place_ids.blank?
o.indexed_private_places = private_places_by_id.values_at(*o.indexed_private_place_ids).compact.select do |p|
always_indexed_place... | 14 |
diff --git a/exampleSite/content/docs/fragments/content.md b/exampleSite/content/docs/fragments/content.md @@ -87,6 +87,22 @@ This would overwrite the global one.
Aside from the `content/_global/` directory, you can create `_global/` directory in any section's directory (`content/[section]/_global/`).
Each section can ... | 0 |
diff --git a/html/components/stepper.stories.js b/html/components/stepper.stories.js @@ -464,7 +464,7 @@ export const withCarousel = () => {
}, []);
return `
- <div class="sprk-u-BackgroundColor--blue sprk-o-Box sprk-o-Box--large">
+ <div class="sprk-u-BackgroundColor--dark-purple sprk-o-Box sprk-o-Box--large">
<div cl... | 3 |
diff --git a/package.json b/package.json "underscore": "^1.8.3"
},
"devDependencies": {
- "@babel/core": "7.0.0",
- "@babel/plugin-proposal-class-properties": "7.4.4",
+ "@babel/core": "7.5.0",
+ "@babel/plugin-proposal-class-properties": "7.5.0",
"@babel/plugin-transform-exponentiation-operator": "7.2.0",
- "@babel/pl... | 3 |
diff --git a/articles/connections/passwordless/ios-magic-link.md b/articles/connections/passwordless/ios-magic-link.md -# Lock iOS: Passwordless with Magic Link
+---
+title: Lock iOS v1 Passwordless Magic Links
+description: Using Passwordless Magic Links with Lock for iOS v1
+---
-Using the Lock library, you can imple... | 1 |
diff --git a/token-metadata/0x954b890704693af242613edEf1B603825afcD708/metadata.json b/token-metadata/0x954b890704693af242613edEf1B603825afcD708/metadata.json "symbol": "CARD",
"address": "0x954b890704693af242613edEf1B603825afcD708",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/token-metadata/0x5d48F293BaED247A2D0189058bA37aa238bD4725/metadata.json b/token-metadata/0x5d48F293BaED247A2D0189058bA37aa238bD4725/metadata.json "symbol": "NCC",
"address": "0x5d48F293BaED247A2D0189058bA37aa238bD4725",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/spec/models/observation_spec.rb b/spec/models/observation_spec.rb @@ -1716,11 +1716,13 @@ describe Observation do
it "should not make a guess for problematic names" do
Taxon::PROBLEM_NAMES.each do |name|
- t = Taxon.make!(:name => name.capitalize)
+ t = Taxon.make( name: name.capitalize )
+ if t.save
o = O... | 1 |
diff --git a/sample/html/examples.html b/sample/html/examples.html imageSize <span class="pl-k">:</span> <span class="pl-s">150</span>,
buttonList <span class="pl-k">:</span> [
[<span class="pl-s"><span class="pl-pds">'</span>font<span class="pl-pds">'</span></span>, <span class="pl-s"><span class="pl-pds">'</span>font... | 3 |
diff --git a/lib/compressDracoMeshes.js b/lib/compressDracoMeshes.js 'use strict';
var Cesium = require('cesium');
+var draco3d = require('draco3d');
+var hashObject = require('object-hash');
var ForEach = require('./ForEach');
var addExtensionsRequired = require('./addExtensionsRequired');
var addToArray = require('./... | 1 |
diff --git a/static/scss/partials/_wallets.scss b/static/scss/partials/_wallets.scss color: #797979;
display: block;
font-size: rem(13px);
+ margin-bottom: .5rem;
transition: .2s all;
+ @media (min-width: $min-width-sm) {
+ margin-bottom: rem(5px);
+ }
+
+ @media (min-width: $min-width-md) {
+ margin-bottom: 0;
+ }
+
&... | 7 |
diff --git a/index.d.ts b/index.d.ts @@ -23,10 +23,16 @@ export interface RedomComponent {
onunmount?(): void;
}
-export interface RedomComponentConstructor {
+export interface RedomComponentFunction {
new (): RedomComponent;
}
+export class RedomComponentClass implements RedomComponent {
+ el: HTMLElement;
+}
+
+expor... | 3 |
diff --git a/articles/connections/database/rate-limits.md b/articles/connections/database/rate-limits.md @@ -16,7 +16,7 @@ For database connections Auth0 limits certain types of repeat login attempts dep
- If a user enters their password incorrectly more than 10 times from a single IP address, they will be blocked from... | 3 |
diff --git a/tools/utils/PlatformSetup.hx b/tools/utils/PlatformSetup.hx @@ -1654,8 +1654,12 @@ class PlatformSetup {
public static function setupLime ():Void {
+ if (!targetFlags.exists ("cli")) {
+
setupHaxelib (new Haxelib ("lime"));
+ }
+
var haxePath = Sys.getEnv ("HAXEPATH");
if (PlatformHelper.hostPlatform == Pl... | 7 |
diff --git a/token-metadata/0x17540494Ad5E39AEFD49901774528e9ff17FE40B/metadata.json b/token-metadata/0x17540494Ad5E39AEFD49901774528e9ff17FE40B/metadata.json "symbol": "PRIVATE",
"address": "0x17540494Ad5E39AEFD49901774528e9ff17FE40B",
"decimals": 3,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIE... | 3 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.stories.ts @@ -1099,7 +1099,7 @@ extended.story = {
},
};
-export const withOutCollapsibleNav = () => ({
+export const withoutCollapsibleN... | 3 |
diff --git a/packages/sling-web-component-form/src/state/FormReducer.js b/packages/sling-web-component-form/src/state/FormReducer.js -import { setIn, isDeeplyEmpty, omit, isPromise } from 'sling-helpers/src';
+import { setIn, isDeeplyEmpty, omit, isPromise, toFlatEntries } from 'sling-helpers/src';
import { createStore... | 7 |
diff --git a/test/testingpage/index.html b/test/testingpage/index.html </div>
</div>
- <script type="text/javascript" src="./scripts/adapter.js"></script>
- <script type="text/javascript" src="./scripts/socket.io.js"></script>
- <script type="text/javascript" src="./scripts/jquery-3.2.1.min.js"></script>
+ <script src=... | 14 |
diff --git a/src/encoded/upgrade/upgrade_data/analysis_step_5_to_6.py b/src/encoded/upgrade/upgrade_data/analysis_step_5_to_6.py @@ -205,7 +205,9 @@ label_mapping = {
'zhiping-weng:bed-2-bigbed': 'bed-2-bigbed-step',
'zhiping-weng:celltype-cre-id': 'celltype-cre-identification-step',
'zhiping-weng:cluster-filter': 'clu... | 0 |
diff --git a/gulpfile.cjs b/gulpfile.cjs @@ -1007,9 +1007,7 @@ gulp.task("coverage", async function () {
handleBuildWarnings(result);
- return new Promise((resolve, reject) => {
- const karma = new Karma.Server(
- {
+ const karmaConfig = Karma.config.parseConfig(karmaConfigFile, {
configFile: karmaConfigFile,
browsers:... | 3 |
diff --git a/public/maps/tamil-nadu.json b/public/maps/tamil-nadu.json }
},
{
- "arcs": [[[69, -15, 70, -36, -47, 71, 72, 73]], [[74]]],
- "type": "MultiPolygon",
+ "arcs": [[69, -15, 70, -36, -47, 71, 72, 73]],
+ "type": "Polygon",
"properties": {
"cartodb_id": 605,
"censuscode": 625,
}
},
{
- "arcs": [[-11, 95, -33, ... | 1 |
diff --git a/lib/waterline/utils/query/forge-stage-two-query.js b/lib/waterline/utils/query/forge-stage-two-query.js @@ -708,8 +708,11 @@ module.exports = function forgeStageTwoQuery(query, orm) {
'This is a singular ("model") association, which means it never refers to '+
'more than _one_ associated record. So passing... | 7 |
diff --git a/package.json b/package.json "chokidar": "1.0.3",
"clean-webpack-plugin": "^0.1.17",
"grunt": "0.4.5",
+ "grunt-contrib-clean": "^2.0.0",
"grunt-apidoc": "0.10.0",
"grunt-available-tasks": "0.6.0",
"grunt-gh-pages": "0.10.0",
| 0 |
diff --git a/src/components/editor-mode/scene-menu/SceneMenu.jsx b/src/components/editor-mode/scene-menu/SceneMenu.jsx @@ -17,6 +17,7 @@ export const SceneMenu = ({ multiplayerConnected, selectedScene, setSelectedScen
const [ scenesMenuOpened, setScenesMenuOpened ] = useState( false );
const [ roomsMenuOpened, setRooms... | 0 |
diff --git a/src/view/component.js b/src/view/component.js @@ -45,7 +45,7 @@ var elementOwnAttach = require('./element-own-attach');
var elementOwnDetach = require('./element-own-detach');
var elementOwnAttachHTML = require('./element-own-attach-html');
var elementOwnPushChildANode = require('./element-own-push-child-a... | 10 |
diff --git a/closure/goog/base.js b/closure/goog/base.js @@ -1060,6 +1060,14 @@ goog.TRANSPILE_TO_LANGUAGE = goog.define('goog.TRANSPILE_TO_LANGUAGE', '');
goog.TRANSPILER = goog.define('goog.TRANSPILER', 'transpile.js');
+/**
+ * @define {string} Trusted Types policy name. If non-empty then Closure will
+ * use Truste... | 7 |
diff --git a/bot/src/discord/create_kanji_search_page.js b/bot/src/discord/create_kanji_search_page.js @@ -148,7 +148,7 @@ function createPageForKanjiData(kanjiData, prefix) {
embedFields.push({ name: 'Examples', inline: true, value: examplesStr });
}
- const unicodeString = kanjiData.query.codePointAt(0).toString(10);... | 4 |
diff --git a/js/tabManager.js b/js/tabManager.js @@ -57,6 +57,15 @@ class TabManager {
settings.updateSetting(list, globalwhitelist)
}
+
+ incrementTotalPagesVisited () {
+ const count = settings.getSetting('total_pages') + 1 || 1
+ settings.updateSetting('total_pages', count)
+ }
+
+ resetTotalPagesVisited () {
+ sett... | 12 |
diff --git a/src/commands/Settings/Enable.js b/src/commands/Settings/Enable.js @@ -71,7 +71,10 @@ class Enable extends Command {
getCommandsToEnable(commandIdParam) {
const commandsToEnable = [];
const commandRegex = new RegExp(commandIdParam.replace('.', '\\.').replace('*', '.*'), 'ig');
- this.bot.commandHandler.comm... | 3 |
diff --git a/assets/js/modules/analytics/index.js b/assets/js/modules/analytics/index.js @@ -23,7 +23,6 @@ import './datastore';
import { fillFilterWithComponent } from '../../util';
import { SetupMain as AnalyticsSetup } from './setup';
import { SettingsMain as AnalyticsSettings } from './settings';
-import withSnapsh... | 2 |
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -551,8 +551,17 @@ function makeCodeBlockHandler(indent) {
key: 'Tab',
shiftKey: !indent,
format: { 'code-block': true },
- handler(range) {
+ handler(range, { event }) {
const CodeBlock = this.quill.scroll.query('code-block');
+ if (range.length === 0 && !event.... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 14.9.0
- Added: `import-notation` rule ([#6102](https://github.com/stylelint/stylelint/pull/6102)).
- Fixed: `no-duplicate-selectors` false positives for SCSS/Less nested interpolations ([#6118](https:... | 6 |
diff --git a/localization/strings.pot b/localization/strings.pot @@ -2263,11 +2263,17 @@ msgstr ""
msgid "Due today"
msgstr ""
-msgid "%s chore is due to be done today"
-msgstr ""
-
msgid "%s task is due to be done today"
-msgstr ""
+msgid_plural "%s tasks are due to be done today"
+msgstr[0] ""
+msgstr[1] ""
+
+msgid ... | 0 |
diff --git a/articles/api/authentication/_sign-up.md b/articles/api/authentication/_sign-up.md @@ -21,21 +21,14 @@ curl --request POST \
```
```javascript
+// Script uses auth0.js v8. See Remarks for details.
<script src="${auth0js_urlv8}"></script>
<script type="text/javascript">
var webAuth = new auth0.WebAuth({
doma... | 0 |
diff --git a/src/Data.js b/src/Data.js @@ -211,6 +211,8 @@ CM.ConfigData.ScaleCutoff = {type: 'numscale', group: 'Notation', label: 'Notati
CM.ConfigData.GCTimer = {type: 'bool', group: 'Miscellaneous', label: ['Golden Cookie Timer OFF', 'Golden Cookie Timer ON'], desc: 'A timer on the Golden Cookie when it has been sp... | 0 |
diff --git a/app/models/carto/dbdirect_ip.rb b/app/models/carto/dbdirect_ip.rb @@ -4,7 +4,12 @@ module Carto
class DbdirectIp < ActiveRecord::Base
belongs_to :user, inverse_of: :dbdirect_ip, foreign_key: :user_id
- serialize :ips, JSON
+ # Note about the `ips` attribute:
+ # The corresponding column is of type json, so... | 2 |
diff --git a/src/core/core.plugins.js b/src/core/core.plugins.js @@ -289,8 +289,8 @@ function createDescriptors(plugins, options) {
* the event will be discarded.
* @param {Chart} chart - The chart instance.
* @param {IEvent} event - The event object.
- * @param {object} options - The plugin options.
* @param {boolean}... | 1 |
diff --git a/lib/shimmer.js b/lib/shimmer.js @@ -340,14 +340,14 @@ var shimmer = module.exports = {
patchModule: function patchModule(agent) {
logger.trace("Wrapping module loader.")
var Module = require('module')
- var filepathStack = []
+ var filepathMap = {}
shimmer.wrapMethod(Module, 'Module', '_resolveFilename', f... | 4 |
diff --git a/src/tests/controllers/messageLength.test.ts b/src/tests/controllers/messageLength.test.ts @@ -37,6 +37,7 @@ export async function messageLengthTest(t, node1, node2) {
//t.true(messageSent.success, 'node1 should send text message to node2')
const newMessages = await getCheckMsgs(t, node2)
+ console.log(JSON... | 0 |
diff --git a/src/components/common/IntlForm.js b/src/components/common/IntlForm.js @@ -47,7 +47,7 @@ function composeIntlForm(Component) {
<Checkbox
name={name}
label={this.intlIfObject(label)}
- checked={input.value === true}
+ checked={input.value === true || input.value === 1}
onCheck={input.onChange}
disabled={this... | 9 |
diff --git a/core/api-server/config/main/config.base.js b/core/api-server/config/main/config.base.js +const path = require('path');
const packageJson = require(process.cwd() + '/package.json');
const formatter = require(process.cwd() + '/lib/utils/formatters');
@@ -33,10 +34,7 @@ config.cachingServer = {
};
config.debu... | 0 |
diff --git a/src/components/accounts/two_factor/EnableTwoFactor.js b/src/components/accounts/two_factor/EnableTwoFactor.js @@ -142,7 +142,7 @@ export function EnableTwoFactor(props) {
data={MULTISIG_MIN_AMOUNT}
button='twoFactor.alertBanner.button'
theme='light-blue'
- linkTo='https://docs.near.org/docs/concepts/storag... | 3 |
diff --git a/test/keyMode-test.cjs b/test/keyMode-test.cjs @@ -15,10 +15,13 @@ tape("graphviz().keyMode() affects transitions and order of rendering.", functio
];
const nCheckPoints = 8;
const nItemsPerCheckPoint = 4;
- test.plan(keyModes.length * nCheckPoints * nItemsPerCheckPoint);
+ const nRenderings = nCheckPoints ... | 14 |
diff --git a/sigal/plugins/encrypt/static/decrypt.js b/sigal/plugins/encrypt/static/decrypt.js @@ -35,8 +35,12 @@ class Decryptor {
return;
}
this._role = "main";
- this._galleryId = config.galleryId;
- this._mSetupServiceWorker(config);
+ this._config = config;
+ const localConfig = this._mGetLocalConfig();
+ if (loca... | 9 |
diff --git a/userscript.user.js b/userscript.user.js @@ -106514,6 +106514,11 @@ var $$IMU_EXPORT$$;
break;
}
+ if (our_source === null && other.length > 0) {
+ our_source = other[0];
+ other.splice(0, 1);
+ }
+
if (our_source) {
if (options.use_elcache) {
if (replaceimgs_elcache.has(our_source.el)) {
@@ -106556,12 +106... | 5 |
diff --git a/webaverse.js b/webaverse.js @@ -4,11 +4,8 @@ it uses the help of various managers and stores, and executes the render loop.
*/
import * as THREE from 'three';
-import WSRTC from 'wsrtc/wsrtc.js';
import Avatar from './avatars/avatars.js';
-// import * as CharacterHupsModule from './character-hups.js';
impo... | 2 |
diff --git a/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java b/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java @@ -7,10 +7,12 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.net.Uri;
+import android.os.Build;
import android.util.B... | 0 |
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -9,7 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
- AWS_ACCESS_KEY_ID: AKIAVIULH47FJUBBUV5U
+ AWS_ACCESS_KEY_ID: AKIAVIULH47FMHXU2IXE
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v2
| 3 |
diff --git a/modules/site/parent_templates/site/common/js/application.js b/modules/site/parent_templates/site/common/js/application.js @@ -201,7 +201,7 @@ function getStartPage(urlHash) {
thisPage = thisPage < 0 ? 0 : thisPage;
} else {
- if (pageLink.substring(4).indexOf('section') > -1) {
+ if (pageLink.indexOf('sect... | 1 |
diff --git a/views/stats.ejs b/views/stats.ejs @@ -2150,14 +2150,16 @@ twitterDescription += '. Click to view more stats!'
<% if('burrows' in calculated.misc){ %>
<div class="minion-category-header"><div class="minion-category-icon"><div class="item-icon custom-icon" style="background-image: url(/head/4c27e3cb52a64968e... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.