code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lore-ai.js b/lore-ai.js @@ -153,6 +153,17 @@ class AICharacter extends EventTarget {
this.bio = bio;
}
}
+class AIObject extends EventTarget {
+ constructor({
+ name = defaultObjectName,
+ description = defaultObjectDescription,
+ } = {}) {
+ super();
+
+ this.name = name;
+ this.description = description;... | 0 |
diff --git a/app/assets/stylesheets/editor-3/_custom-carousel.scss b/app/assets/stylesheets/editor-3/_custom-carousel.scss .Carousel {
position: relative;
}
+
.Carousel-list {
- @include display-flex();
- @include justify-content(flex-start);
+ display: flex;
+ justify-content: flex-start;
position: relative;
padding-b... | 2 |
diff --git a/packages/react-router/docs/api/location.md b/packages/react-router/docs/api/location.md @@ -50,7 +50,7 @@ Normally you just use a string, but if you need to add some "location state" tha
// but you can use a location instead
const location = {
- pathname: '/somewhere'
+ pathname: '/somewhere',
state: { fro... | 0 |
diff --git a/packages/cx-core/src/widgets/overlay/Dropdown.js b/packages/cx-core/src/widgets/overlay/Dropdown.js @@ -497,7 +497,7 @@ Dropdown.prototype.pad = false;
Dropdown.prototype.elementExplode = 0;
Dropdown.prototype.screenPadding = 5;
Dropdown.prototype.firstChildDefinesHeight = false;
-Dropdown.prototype.firstC... | 1 |
diff --git a/README.md b/README.md @@ -194,10 +194,10 @@ async function main() {
// get the client
const mysql = require('mysql2');
// create the pool
- const pool = await mysql.createPool({host:'localhost', user: 'root', database: 'test'});
+ const pool = mysql.createPool({host:'localhost', user: 'root', database: 'te... | 1 |
diff --git a/articles/cms/wordpress/configuration.md b/articles/cms/wordpress/configuration.md @@ -51,7 +51,7 @@ https://yourdomain.com/index.php?auth0=1
```
::: warning
- Do **not** cache Callback URLs, or you might see an "Invalid state" error during login. Please see our [troubleshooting steps for this error](https:... | 1 |
diff --git a/core/api-server/api/rest-api/routes/v1/boards.js b/core/api-server/api/rest-api/routes/v1/boards.js @@ -62,8 +62,8 @@ const routes = (options) => {
});
router.all('/tensor/start/:taskId?', methods(['POST']), logger(), async (req, res, next) => {
const { taskId } = req.params;
- const { nodeName, pipelineNa... | 0 |
diff --git a/js/moto-ui.js b/js/moto-ui.js @@ -279,8 +279,29 @@ var gs_moto_ui = exports;
hidePop();
});
if (action) {
+ ip.addEventListener('keydown', function(event) {
+ let key = event.key;
+ if (
+ (key >= '0' && key <= '9') ||
+ key === '.' ||
+ key === '-' ||
+ key === 'Backspace' ||
+ key === 'ArrowLeft' ||
+ ke... | 7 |
diff --git a/js/igvxhr.js b/js/igvxhr.js @@ -131,7 +131,7 @@ const igvxhr = {
async function getLoadPromise(url, options) {
- return new Promise(function (fullfill, reject) {
+ return new Promise(function (resolve, reject) {
// Various Google tansformations
if (google.isGoogleURL(url)) {
@@ -195,50 +195,35 @@ const igv... | 7 |
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -772,12 +772,9 @@ function _hover(gd, evt, subplot, noHoverEvent) {
hoverdistance: fullLayout.hoverdistance
};
- var actualHoverData = hoverData.filter(function(d) {
- return d.hoverinfo !== 'none';
- });
- var hoverLabels = actualHoverData.length ... | 13 |
diff --git a/lib/global-admin/addon/components/new-multi-cluster-app/component.js b/lib/global-admin/addon/components/new-multi-cluster-app/component.js @@ -15,6 +15,7 @@ import layout from './template';
import { stringifyAnswer } from 'shared/utils/evaluate';
import { isEmpty } from '@ember/utils';
import CatalogApp f... | 1 |
diff --git a/src/index.html b/src/index.html <p class="dialog-text">You are sending <span class="confirmation-value">{{withdraw.confirm.amount.value}}</span>
<span class="confirmation-value">{{withdraw.confirm.amount.currency}}</span> with
<span class="confirmation-value">{{withdraw.confirm.fee.value}}</span>
- <span c... | 3 |
diff --git a/install.php b/install.php @@ -82,7 +82,9 @@ if (!defined('JSON_PRETTY_PRINT')) {
// Domain and protocol
define('DOMAIN', $_SERVER['HTTP_HOST']);
-if (!empty($_SERVER['HTTPS'])) {
+if ( !empty($_SERVER['HTTPS']) ||
+ (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'http... | 7 |
diff --git a/src/datepicker.jsx b/src/datepicker.jsx @@ -16,6 +16,7 @@ const WrappedCalendar = onClickOutside(Calendar)
export default class DatePicker extends React.Component {
static propTypes = {
+ allowSameDay: PropTypes.bool,
autoComplete: PropTypes.string,
autoFocus: PropTypes.bool,
calendarClassName: PropTypes.s... | 11 |
diff --git a/packages/router/utils.ts b/packages/router/utils.ts @@ -440,9 +440,20 @@ function flattenRoutes<
}
/**
- * Computes all combinations of optional path segments for a given path.
+ * Computes all combinations of optional path segments for a given path,
+ * excluding combinations that are ambiguous and of low... | 2 |
diff --git a/test/apps/carto-dynamic-tile/app.js b/test/apps/carto-dynamic-tile/app.js @@ -44,6 +44,16 @@ const config = {
zipcodes: 'carto_backend_data_team.dynamic_tiling.usa_zcta5_2019',
h3: 'carto_backend_data_team.dynamic_tiling.usa_h3res8_v1',
block: 'carto_backend_data_team.dynamic_tiling.usa_block_2019'
+ },
+ ... | 0 |
diff --git a/articles/rules/current/index.md b/articles/rules/current/index.md @@ -50,7 +50,7 @@ To create a Rule, or try the examples below, go to [New Rule](${manage_url}/#/ru
### Hello World
-::: note
+::: panel Namespace Identifiers
Any non-Auth0 HTTP or HTTPS URL can be used as a namespace identifier, and any numb... | 14 |
diff --git a/package.json b/package.json "istanbul": "1.0.0-alpha.2",
"istanbul-api": "1.0.0-alpha.13",
"lolex": "^1.4.0",
- "mocha": "^6.1.4",
+ "mocha": "^2.3.4",
"mocha-junit-reporter": "1.11.1",
"node-mocks-http": "1.5.2",
"s3blaster": "scality/s3blaster#950fab1",
},
"scripts": {
"cloudserver": "S3METADATA=mongodb ... | 13 |
diff --git a/includes/Compatibility.php b/includes/Compatibility.php @@ -61,7 +61,7 @@ class Compatibility {
*
* @var array
*/
- protected $extensions;
+ protected $extensions = [];
/**
* Array of required files.
@@ -158,7 +158,7 @@ class Compatibility {
*/
public function check_required_files() {
$required_files = $th... | 7 |
diff --git a/src/og/control/ruller/RullerScene.js b/src/og/control/ruller/RullerScene.js @@ -10,16 +10,32 @@ import { Vector } from '../../layer/Vector.js';
import { Entity } from '../../entity/Entity.js';
import { Ellipsoid } from '../../ellipsoid/Ellipsoid.js';
import { Object3d } from '../../Object3d.js';
-import * ... | 0 |
diff --git a/token-metadata/0xE277aC35F9D327A670c1A3F3eeC80a83022431e4/metadata.json b/token-metadata/0xE277aC35F9D327A670c1A3F3eeC80a83022431e4/metadata.json "symbol": "PUX",
"address": "0xE277aC35F9D327A670c1A3F3eeC80a83022431e4",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/muncher/import.js b/src/muncher/import.js @@ -51,6 +51,23 @@ const srdCompendiumLookup = [
{ type: "monsterfeatures", name: "dnd5e.monsterfeatures" },
];
+var srdIconMapLoaded = false;
+var srdIconMap = {};
+var srdPacksLoaded = false;
+var srdPacks = {};
+
+
+export async function loadSRDPacks() {
+ i... | 7 |
diff --git a/src/server/models/config.js b/src/server/models/config.js @@ -192,6 +192,7 @@ module.exports = function(crowi) {
file: crowi.fileUploadService.getFileUploadEnabled(),
},
registrationWhiteList: crowi.configManager.getConfig('crowi', 'security:registrationWhiteList'),
+ showPageLimitationS: crowi.configManag... | 12 |
diff --git a/src/components/common/TmSessionSignUp.vue b/src/components/common/TmSessionSignUp.vue <h2 class="session-title">
Create a new address
</h2>
- <div v-if="session.insecureMode">
+ <div v-if="!session.insecureMode" class="session-main">
+ <InsecureModeWarning />
+ </div>
+ <div v-else>
<div class="session-mai... | 5 |
diff --git a/packages/app/src/services/renderer/growi-renderer.tsx b/packages/app/src/services/renderer/growi-renderer.tsx @@ -219,9 +219,6 @@ const generateCommonOptions: ReactMarkdownOptionsGenerator = (
rehypePlugins: [slug],
components: {
a: NextLink,
- h1: Header,
- h2: Header,
- h3: Header,
},
};
};
@@ -232,14 +2... | 12 |
diff --git a/setup.py b/setup.py @@ -5,7 +5,7 @@ here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
# Edit Snovault version after the `@` here, can be a branch or tag
-SNOVAULT_DEP = "git+https://github.com/ENC... | 3 |
diff --git a/app/initializers/route-spy.js b/app/initializers/route-spy.js @@ -14,11 +14,18 @@ export function initialize() {
willTranstionNotify: function(transition) {
const router = window.ls('router');
+ let url;
+
+ if (transition.targetName && transition.to) {
+ try {
+ url = router.urlFor(transition.targetName, ... | 1 |
diff --git a/CommentUserColours.user.js b/CommentUserColours.user.js // @description Unique colour for each user in comments to make following users in long comment threads easier
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.1.1
+// @version 1.1.2
//
// @include https://... | 4 |
diff --git a/base/windows/shop/BuyArtifactsMenu.js b/base/windows/shop/BuyArtifactsMenu.js @@ -426,6 +426,7 @@ export class BuyArtifactsMenu{
this.item_list = [];
this.selected_item = null;
this.old_item = null;
+ this.buy_select_pos = {page: 0, index: 0};
this.control_manager.reset();
this.parent.horizontal_menu.activ... | 1 |
diff --git a/test-complete/nodejs-graphs-default.js b/test-complete/nodejs-graphs-default.js @@ -114,6 +114,45 @@ describe('default graph test', function(){
}, done);
});
+ it('should run combined SPARQL query', function(done){
+ this.timeout(10000);
+ var myQuery = "PREFIX foaf: <http://xmlns.com/foaf/0.1/>" +
+ "PREF... | 0 |
diff --git a/src/index.js b/src/index.js @@ -611,7 +611,7 @@ class Offline {
/* HANDLER LAZY LOADING */
- let handler; // The lambda function
+ let userHandler; // The lambda function
Object.assign(process.env, this.originalEnvironment);
try {
@@ -636,7 +636,7 @@ class Offline {
);
}
process.env._HANDLER = fun.handler;... | 10 |
diff --git a/app/scripts/lib/account-tracker.js b/app/scripts/lib/account-tracker.js @@ -288,6 +288,9 @@ class AccountTracker {
return true
}).map(txOut => txOut.txid)),
]
+
+ // Validate SLP DAG
+ try {
const validSLPTx = await slpjs.bitdb.verifyTransactions(txidsToValidate)
for (const validTxid of validSLPTx) {
for (... | 8 |
diff --git a/token-metadata/0xb1EC548F296270BC96B8A1b3b3C8F3f04b494215/metadata.json b/token-metadata/0xb1EC548F296270BC96B8A1b3b3C8F3f04b494215/metadata.json "symbol": "FORS",
"address": "0xb1EC548F296270BC96B8A1b3b3C8F3f04b494215",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/PenSkin.js b/src/PenSkin.js @@ -89,6 +89,7 @@ class PenSkin extends Skin {
clear () {
const ctx = this._canvas.getContext('2d');
ctx.clearRect(0, 0, this._canvas.width, this._canvas.height);
+ this._canvasDirty = true;
}
/**
| 12 |
diff --git a/src/lib/wallet/GoodWallet.js b/src/lib/wallet/GoodWallet.js @@ -348,8 +348,7 @@ export class GoodWallet {
async isCitizen(): Promise<boolean> {
const tx: boolean = await this.identityContract.methods.isVerified(this.account).call()
- log.info(`isCitizen(): ${this.account} = ${tx}`)
- return true
+ return t... | 2 |
diff --git a/articles/appliance/admin/rate-limiting.md b/articles/appliance/admin/rate-limiting.md @@ -16,7 +16,7 @@ Click the checkbox next to **Enable** to enable rate limiting.

-By default, **Configuration of buckets** is empty, which means that limitd's defau... | 2 |
diff --git a/src/components/chatInput/index.js b/src/components/chatInput/index.js @@ -32,7 +32,7 @@ type State = {
code: boolean,
isSendingMediaMessage: boolean,
mediaPreview: string,
- mediaPreviewFile: Blob,
+ mediaPreviewFile: ?Blob,
};
type Props = {
@@ -81,7 +81,7 @@ class ChatInput extends React.Component<Props,... | 12 |
diff --git a/public/example.js b/public/example.js // optional default: 'airstore-image-editor' | image editor root element to boost the plugin
//ELEMENT_ID: 'airstore-image-editor',
// * required if PROCESS_WITH_CLOUDIMAGE set to false | Airstore uploaded key
- UPLOAD_KEY: '0cbe9ccc4f164bf8be26bd801d53b132',
+ //UPLOA... | 4 |
diff --git a/app/stylesheets/builtin-pages/bookmarks.less b/app/stylesheets/builtin-pages/bookmarks.less .builtin-main {
max-width: ~"calc(100vw - 340px)"; // width of main sidebar + builtin-sidebar
+ height: 100%;
+ margin-bottom: 0;
+ padding-bottom: 20px;
background: #fff;
.links-list.bookmarks {
| 12 |
diff --git a/packages/idyll-components/src/svg.js b/packages/idyll-components/src/svg.js @@ -3,10 +3,11 @@ import InlineSVG from 'react-inlinesvg';
class SVG extends React.PureComponent {
render() {
+ const { hasError, updateProps, idyll, ...props } = this.props;
if (!this.props.src) {
- return <svg {...this.props} />;... | 2 |
diff --git a/_jekyll/layouts/series-index.html b/_jekyll/layouts/series-index.html @@ -44,16 +44,13 @@ layout: base
| where_exp: 'seriesIndex', 'seriesIndex.path != page.path'
| sort: 'series_number' %}
- {% comment %} Count the number of '/' in this page's path. {% endcomment %}
- {% comment %} This is used to only sh... | 1 |
diff --git a/source/ibl_sampler.js b/source/ibl_sampler.js @@ -59,28 +59,10 @@ class iblSampler
this.gl.bindTexture( this.gl.TEXTURE_2D, texture); // as this function is asynchronus, another texture could be set in between
-
var internalFormat = this.gl.RGBA32F;
- var format = this.gl.RGB;
+ var format = this.gl.RGBA;
... | 2 |
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -518,8 +518,8 @@ def check_for_fastq_signature_conflicts(session,
signatures_to_check):
conflicts = []
for signature in sorted(list(signatures_to_check)):
- query = '/search/?type=File&status!=replaced&file_format=fastq&fastq_signature=' + \
- signatur... | 0 |
diff --git a/src/init.js b/src/init.js @@ -190,13 +190,17 @@ const Console = console;
const { path } = (files[0] || {});
if (!D.ide || !path) {
// no session or no file dragged
- } else if (!D.lastSpawnedExe) {
- toastr.error('Drag and drop of workspaces works only for locally started interpreters.', 'Drop failed');
} ... | 11 |
diff --git a/js/base/Exchange.js b/js/base/Exchange.js @@ -435,7 +435,11 @@ module.exports = class Exchange {
const params = { method, headers, body, timeout: this.timeout }
- if (url.indexOf ('http://') < 0) {
+ if (url.indexOf ('http://') === 0) {
+ params['agent'] = this.httpAgent || null;
+ } else if (url.indexOf (... | 11 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -403,15 +403,15 @@ jobs:
- run:
name: Test plotly.min.js import using requirejs
command: npm run test-requirejs
+ - run:
+ name: Test plotly bundles against es6
+ command: npm run no-es6-dist
- run:
name: Display function constructors in all bundles (only on m... | 5 |
diff --git a/volume.js b/volume.js @@ -9,16 +9,6 @@ const localVector = new THREE.Vector3();
const localVector2 = new THREE.Vector3();
const localQuaternion = new THREE.Quaternion();
-function makePromise() {
- let accept, reject;
- const p = new Promise((a, r) => {
- accept = a;
- reject = r;
- });
- p.accept = accept... | 2 |
diff --git a/generators/client/templates/angular/package.json.ejs b/generators/client/templates/angular/package.json.ejs <%_ if (protractorTests) { _%>
"protractor": "5.4.4",
<%_ } _%>
- "reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"sass": "1.26.5",
"sass-loader": "8.0.2",
| 2 |
diff --git a/articles/architecture-scenarios/b2e.md b/articles/architecture-scenarios/b2e.md @@ -74,10 +74,6 @@ You can also integrate purchased applications with Auth0 for single sign-on (SSO
* Slack
* New Relic
-## Portal & identity provider-initiated flows
-
-You can configure a corporate portal with links for an id... | 2 |
diff --git a/src/Route.js b/src/Route.js @@ -149,8 +149,8 @@ export default class Route {
responseSchema = _schema && validation && validation.responseSchema;
isNotFoundHandler = routeFunction.handler === 2;
- if (method !== 'options') {
if (
+ method !== 'options' &&
(routeFunction.then ||
routeFunction.constructor.na... | 13 |
diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js @@ -140,8 +140,8 @@ module.exports = {
},
],
'no-multi-str': 'warn',
- 'no-native-reassign': 'warn',
- 'no-negated-in-lhs': 'warn',
+ 'no-global-assign': 'warn',
+ 'no-unsafe-negation': 'warn',
'no-new-func': 'warn',
'no-... | 3 |
diff --git a/test/tests/nodeApi/nodeApi.mjs b/test/tests/nodeApi/nodeApi.mjs @@ -187,6 +187,16 @@ TestRegister.addApiTests([
assert.strictEqual(result.toString(), "Protocol:\thttps:\nHostname:\tgoogle.com\nPath name:\t/search\nArguments:\n\tq = that's a complicated question\n");
}),
+ it("chef.bake: forgiving with oper... | 0 |
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md ---
-name: Question
+name: Question (QUESTIONS MUST BE ASKED ON STACK OVERFLOW!!! DO NOT CREATE AN ISSUE!!!)
about: Please ask questions on Stack Overflow, NOT on GitHub :)
title: ''
labels: ''
| 3 |
diff --git a/src/sass/shame.scss b/src/sass/shame.scss @@ -133,11 +133,11 @@ input[type=number] {
display: block;
overflow: hidden;
text-overflow: ellipsis;
- white-space: -moz-nowrap;
- white-space: -hp-nowrap;
- white-space: -o-nowrap;
- white-space: -nowrap;
- white-space: nowrap;
+ white-space: -moz-pre-wrap;
+ whi... | 13 |
diff --git a/src/collection/dimensions/bounds.js b/src/collection/dimensions/bounds.js @@ -586,16 +586,10 @@ let boundingBoxImpl = function( ele, options ){
return bounds;
};
-let tf = function( val ){
- if( val ){
- return 't';
- } else {
- return 'f';
- }
-};
-
let getKey = function( opts ){
- let key = '';
+ let i =... | 4 |
diff --git a/packages/core/src/PlayerContextProvider.js b/packages/core/src/PlayerContextProvider.js @@ -194,8 +194,9 @@ export class PlayerContextProvider extends Component {
this.handleMediaEmptied = this.handleMediaEmptied.bind(this);
this.handleMediaStalled = this.handleMediaStalled.bind(this);
this.handleMediaCanp... | 12 |
diff --git a/app/addons/documents/routes-mango.js b/app/addons/documents/routes-mango.js @@ -23,6 +23,7 @@ import SidebarActions from "./sidebar/actions";
import {MangoLayout} from './mangolayout';
const MangoIndexEditorAndQueryEditor = FauxtonAPI.RouteObject.extend({
+ selectedHeader: 'Databases',
hideApiBar: true,
hi... | 0 |
diff --git a/src/UserConfig.js b/src/UserConfig.js @@ -639,10 +639,6 @@ class UserConfig {
}
addExtension(fileExtension, options = {}) {
- if (!process.env.ELEVENTY_EXPERIMENTAL) {
- return;
- }
-
this.extensionMap.add(
Object.assign(
{
| 2 |
diff --git a/src/components/select/template.njk b/src/components/select/template.njk {% from "label/macro.njk" import govukLabel %}
-{%- if params.label %}
+
{{- govukLabel({
html: params.label.html,
text: params.label.text,
errorMessage: params.errorMessage,
for: params.id
}) -}}
-{% endif -%}
<select class="govuk-c-s... | 11 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Postman Collection SDK Changelog
+### unreleased
+* Added `Response~contentInfo` to extract mime info and filename from response.
+* Deprecated `Response~mime` and `Response~mimeInfo`
+
#### v3.0.10 (May 22, 2018)
* Revert computing filename from content-disposition header in ... | 3 |
diff --git a/README.md b/README.md @@ -48,13 +48,13 @@ To run Puppeteer tests generated by spearmint, install the following in your dev
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) ·
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) ·
> Cornelius [@corneelt... | 3 |
diff --git a/test/jasmine/tests/scatter_test.js b/test/jasmine/tests/scatter_test.js @@ -1035,6 +1035,27 @@ describe('end-to-end scatter tests', function() {
.then(done, done.fail);
});
+ it('updates line segments on redraw when having null values', function(done) {
+ function checkSegments(exp, msg) {
+ var lineSelect... | 0 |
diff --git a/Specs/Scene/ImageryLayerCollectionSpec.js b/Specs/Scene/ImageryLayerCollectionSpec.js @@ -700,7 +700,7 @@ describe(
});
});
- it("helper continues if provider.pickFeatures is undefined", function () {
+ it("pickImageryHelper continues if provider.pickFeatures is undefined", function () {
var provider = {
r... | 3 |
diff --git a/src/containers/gui.jsx b/src/containers/gui.jsx @@ -36,6 +36,7 @@ class GUI extends React.Component {
}
render () {
const {
+ children,
projectData, // eslint-disable-line no-unused-vars
vm,
...componentProps
@@ -46,7 +47,9 @@ class GUI extends React.Component {
vm={vm}
onTabSelect={this.handleTabSelect}
{... | 11 |
diff --git a/app/shared/containers/Welcome/Account.js b/app/shared/containers/Welcome/Account.js @@ -218,8 +218,7 @@ class WelcomeAccountContainer extends Component<Props> {
style={{ marginTop: '1em' }}
/>
</Container>
- {((stage === 1 || (stage === 2 && validate.ACCOUNT !== 'SUCCESS'))
- && settings.walletMode !== 'co... | 11 |
diff --git a/src/server/modules/user/index.js b/src/server/modules/user/index.js @@ -22,7 +22,8 @@ export default new Feature({
if (
connectionParams &&
connectionParams.token &&
- connectionParams.token !== 'null'
+ connectionParams.token !== 'null' &&
+ connectionParams.token !== 'undefined'
) {
try {
const { user } ... | 9 |
diff --git a/src/pages/signin/SignInPageLayout/index.js b/src/pages/signin/SignInPageLayout/index.js @@ -13,11 +13,19 @@ const SignInPageLayout = props => (
<SignInPageLayoutWide
welcomeText={props.welcomeText}
isMediumScreenWidth={props.isMediumScreenWidth}
+ shouldShowWelcomeText={props.shouldShowWelcomeText}
>
{prop... | 9 |
diff --git a/app/src/pages/inside/stepPage/modals/linkIssueModal/linkIssueFields/linkIssueFields.scss b/app/src/pages/inside/stepPage/modals/linkIssueModal/linkIssueFields/linkIssueFields.scss .link-issue-fields {
.issue-fields-list-item {
- display: inline-block;
position: relative;
margin-bottom: 18px;
}
.remove-issu... | 1 |
diff --git a/html/components/masthead.js b/html/components/masthead.js @@ -217,7 +217,8 @@ const bindUIEvents = () => {
});
});
- wideSelectorTriggerInDropdown.addEventListener('click', () => {
+ wideSelectorTriggerInDropdown.addEventListener('click', (e) => {
+ e.preventDefault();
const dropdownIsOpen = wideSelectorDr... | 3 |
diff --git a/.travis.yml b/.travis.yml @@ -10,7 +10,7 @@ before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
cache:
- yarn: true
+ yarn: false
install:
- yarn install
- cd embark-ui && yarn install &... | 2 |
diff --git a/lib/sphereTracker.js b/lib/sphereTracker.js @@ -76,6 +76,7 @@ function SphereTracker(canvas) {
for (n = 0 ; n < 3 ; n++) {
xSum = ySum = count = 0;
+ var xAvg = 0, yAvg = 0;
i = 0;
for (y = 0 ; y < height ; y++)
@@ -123,8 +124,8 @@ function SphereTracker(canvas) {
g = n2g(n);
b = n2b(n);
for (a = 0 ; a < 2... | 1 |
diff --git a/src/plugins/StatusBar/index.js b/src/plugins/StatusBar/index.js @@ -27,6 +27,7 @@ module.exports = class StatusBar extends Plugin {
paused: 'Paused',
error: 'Error',
retry: 'Retry',
+ cancel: 'Cancel',
pressToRetry: 'Press to retry',
retryUpload: 'Retry upload',
resumeUpload: 'Resume upload',
| 0 |
diff --git a/lib/node_modules/@stdlib/bench/test/test.harness.pretest.js b/lib/node_modules/@stdlib/bench/test/test.harness.pretest.js // MODULES //
+var EventEmitter = require( 'events' ).EventEmitter;
var tape = require( 'tape' );
+var proxyquire = require( 'proxyquire' );
var cos = require( '@stdlib/math/base/specia... | 4 |
diff --git a/src/components/responsive/GlobalAlert.js b/src/components/responsive/GlobalAlert.js @@ -121,7 +121,7 @@ const GlobalAlert = ({ globalAlert, clearAlert, closeIcon = true }) => {
}
};
- if (globalAlert) {
+ if (globalAlert && !(globalAlert.data.onlyError && globalAlert.success)) {
return (
<Container>
<Custo... | 9 |
diff --git a/src/Objs/_defaultPageEditingConfig.js b/src/Objs/_defaultPageEditingConfig.js @@ -12,7 +12,7 @@ export const defaultPageEditingConfigAttributes = {
},
navigationBackgroundImageGradient: {
title: "Use gradient for header image?",
- description: "Only applies if a header image is selected. Default: No",
+ de... | 7 |
diff --git a/server/components/buttons/middleware.js b/server/components/buttons/middleware.js @@ -146,7 +146,6 @@ export function getButtonMiddleware({
<style nonce="${ cspNonce }">${ buttonStyle }</style>
<div id="buttons-container" class="buttons-container">${ buttonHTML }</div>
- <div id="card-fields-container" cla... | 5 |
diff --git a/assets/js/components/PostSearcher.js b/assets/js/components/PostSearcher.js @@ -44,7 +44,7 @@ function PostSearcher() {
const [ match, setMatch ] = useState( {} );
const analyticsModuleActive = useSelect( ( select ) => select( CORE_MODULES ).isModuleActive( 'analytics' ) );
- const adminURL = useSelect( ( ... | 10 |
diff --git a/README.md b/README.md @@ -28,7 +28,7 @@ Create Minecraft bots with a powerful, stable, and high level JavaScript API.
## Usage
-If you want to use a version of minecraft that is not the last version, you need to specify it in the createBot option.
+Without version specified, the version of the server will ... | 3 |
diff --git a/assets/js/components/settings/SetupModule.js b/assets/js/components/settings/SetupModule.js @@ -81,8 +81,8 @@ export default function SetupModule( {
// this to rerun after modules are loaded.
// Once #1769 is resolved, we can remove the call to getModules,
// and remove the !! modules cache busting param.
... | 2 |
diff --git a/README.md b/README.md @@ -8,7 +8,7 @@ If you would like to suggest that we deploy in your city/municipality, please em
### Setting up the development environment
-If you run into any problems during setup, check the [Docker troubleshooting wiki page](https://github.com/ProjectSidewalk/SidewalkWebpage/wiki/... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,39 @@ 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.33.0] -- 2018-01-18
+
+### Added
+- Completely rewritten `scattergl` trace type using `regl` [#2258]
+- Completely rewritten polar ch... | 3 |
diff --git a/README.md b/README.md @@ -229,6 +229,16 @@ help, have a look at the open issues, especially those labelled with "bug".
You can build the library with `npm install && npm run build`. This will fetch all dependencies and then compile the `dist`
files. To see the examples locally you can start a web server wi... | 7 |
diff --git a/script/cibuild b/script/cibuild set -e # halt script on error
echo "Travis Branch: $TRAVIS_BRANCH"
-echo "Travis Pull Reques: $TRAVIS_PULL_REQUEST"
+echo "Travis Pull Request: $TRAVIS_PULL_REQUEST"
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
if [ "$TRAVIS_PUL... | 2 |
diff --git a/src/consts/const_global.js b/src/consts/const_global.js @@ -287,7 +287,7 @@ consts.SETTINGS = {
STATUS_INTERVAL: 40 * 1000,
LATENCY_CHECK: 5*1000,
MAX_ALLOWED_LATENCY: 5*1000, //miliseconds
- CONCURRENCY_BLOCK_DOWNLOAD_MINERS_NUMBER: (process.env.BROWSER? 10 : 100),
+ CONCURRENCY_BLOCK_DOWNLOAD_MINERS_NUMB... | 13 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -44,6 +44,41 @@ const localEuler2 = new THREE.Euler();
const localMatrix = new THREE.Matrix4();
const localMatrix2 = new THREE.Matrix4();
+const walkSoundFileNames = `\
+walk1.wav
+walk2.wav
+walk3.wav
+walk4.wav
+walk5.wav
+walk6.wav
+walk7.wav
+walk8.wav
+walk9.... | 0 |
diff --git a/app/models/carto/mapcap.rb b/app/models/carto/mapcap.rb @@ -29,7 +29,7 @@ module Carto
regenerated_visualization.permission = visualization.permission
regenerated_visualization.populate_ids(lazy_ids_json)
- regenerated_visualization.readonly!
+ set_tree_as_readonly!(regenerated_visualization)
regenerated_v... | 12 |
diff --git a/lib/pause.js b/lib/pause.js @@ -68,7 +68,18 @@ function parseInput(cmd) {
const I = container.support('I');
const fullCommand = `I.${cmd}`;
- eval(fullCommand); // eslint-disable-line no-eval
+ const result = eval(fullCommand); // eslint-disable-line no-eval
+ result.then((val) => {
+ if (cmd.startsWith('s... | 7 |
diff --git a/CHANGES.md b/CHANGES.md - Remove public sparta `Tag*` constants that were previously reserved for Discover support.
- :checkered_flag: **CHANGES**
- Change [sparta.Discover](https://godoc.org/github.com/mweagle/Sparta#Discover) to use _Environment_ data rather than CloudFormation API calls.
+ - See [Sparta... | 0 |
diff --git a/data.js b/data.js @@ -2043,6 +2043,13 @@ module.exports = [
url: "https://github.com/rgrove/lazyload",
source: "https://raw.githubusercontent.com/rgrove/lazyload/master/lazyload.js"
},
+ {
+ name: "SUL.js",
+ tags: ["dom", "lightweight", "shorthand", "ajax"],
+ description: "Small library for DOM and AJAX ... | 0 |
diff --git a/site/rabbit.ent b/site/rabbit.ent @@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!ENTITY version-java-client "4.2.0">
+<!ENTITY version-java-client "4.2.1">
<... | 12 |
diff --git a/core/components/molecules/table/table.story.js b/core/components/molecules/table/table.story.js @@ -73,10 +73,10 @@ storiesOf('Table').add('explicit widths', () => (
storiesOf('Table').add('cell renderer', () => (
<Example title="default">
<Table items={items}>
- <Table.Column field="image" width="50px">
+... | 7 |
diff --git a/src/client.js b/src/client.js @@ -194,7 +194,7 @@ class Client extends EventEmitter
setEncryption(sharedSecret) {
if (this.cipher != null)
- throw new Error("Set encryption twice !");
+ this.emit('error','Set encryption twice!');
this.cipher = crypto.createCipheriv('aes-128-cfb8', sharedSecret, sharedSecre... | 14 |
diff --git a/packages/insomnia-importers/src/__tests__/fixtures.test.js b/packages/insomnia-importers/src/__tests__/fixtures.test.js @@ -8,7 +8,7 @@ const fixturesPath = path.join(__dirname, './fixtures');
const fixtures = fs.readdirSync(fixturesPath);
describe('Fixtures', () => {
- for (const name of fixtures) {
+ des... | 7 |
diff --git a/scripts/createScramCredentials.sh b/scripts/createScramCredentials.sh @@ -9,10 +9,15 @@ find_container_id() {
-q)
}
-USERNAME=${USERNAME:='testscram'}
+ZOOKEEPER_USERNAME=${ZOOKEEPER_USERNAME:='testscram'}
PASSWORD_256=${PASSWORD_256:='testtestscram=256'}
PASSWORD_512=${PASSWORD_512:='testtestscram=512'}
d... | 1 |
diff --git a/docs/providers/azure/examples/hello-world/node/README.md b/docs/providers/azure/examples/hello-world/node/README.md @@ -15,11 +15,11 @@ Make sure `serverless` is installed. [See installation guide](../../../guide/ins
## 1. Create a service
-`serverless install --url https://github.com/azure/boilerplate-azu... | 1 |
diff --git a/packages/babel-plugin-redux-saga/README.md b/packages/babel-plugin-redux-saga/README.md @@ -6,47 +6,26 @@ Example of setup and demo are available [here](../../examples/error-demo)
## Example
-Source:
-
-```js
-// src/sagas/index.js
-function* saga1(){
- yield call(foo, 1, 2, 3);
-}
-
-function* saga2(){
- ... | 3 |
diff --git a/lib/glucose-get-last.js b/lib/glucose-get-last.js @@ -6,7 +6,7 @@ var getLastGlucose = function (data) {
});
var now = data[0];
- var now_date = now.date || Date.parse(now.display_time) || Date.parse(then.dateString);
+ var now_date = now.date || Date.parse(now.display_time) || Date.parse(now.dateString);
... | 1 |
diff --git a/source/light-validator/contracts/LightValidator.sol b/source/light-validator/contracts/LightValidator.sol @@ -99,9 +99,10 @@ contract LightValidator {
}
}
//accounts & balances check
- uint256 senderBalance = IERC20(senderToken).balanceOf(msg.sender);
+ uint256 senderBalance = IERC20(senderToken).balanceOf... | 3 |
diff --git a/public/resources/css/index.css b/public/resources/css/index.css @@ -1822,6 +1822,24 @@ a.additional-player-stat:hover{
filter: saturate(100%);
}
+.missing-talisman{
+ background-color: #555555;
+ transition: background-color .2s;
+}
+
+.missing-talisman .piece-icon{
+ filter: saturate(0%);
+ transition: fi... | 13 |
diff --git a/package.json b/package.json "jsnext:main": "es/index.js",
"scripts": {
"lint": "eslint src test",
- "test": "run-s lint test-**",
+ "test": "run-s test-**",
+ "check": "run-s lint test",
"test-src": "cross-env BABEL_ENV=cjs babel-node test/index.js | tap-spec",
"check:bundlesize": "cross-env BABEL_ENV=es .... | 13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.