code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/api/shell/shell.cc b/src/api/shell/shell.cc @@ -57,7 +57,7 @@ void Shell::Call(const std::string& method,
Profile* profile = Profile::FromBrowserContext(context);
if (method == "OpenExternal") {
std::string uri = arguments[0].GetString();
- platform_util::OpenExternal(profile, GURL(uri));
+ platform_ut... | 4 |
diff --git a/suneditor/js/suneditor.js b/suneditor/js/suneditor.js @@ -805,7 +805,14 @@ SUNEDITOR.defaultLang = {
}
},
- appendTagToRange: function (appendNode, cssPropertiText) {
+ /**
+ * @description Copies the node received with the argument value and wraps all selected text.
+ * 1. When there is the same node in t... | 3 |
diff --git a/src/encoded/schemas/namespaces.json b/src/encoded/schemas/namespaces.json "UniProtKB": "http://www.uniprot.org/uniprot/",
"HGNC": "http://www.genecards.org/cgi-bin/carddisp.pl?gene=",
"ENSEMBL": "http://www.ensembl.org/Homo_sapiens/Gene/Summary?g=",
- "GeneID": "http://www.ncbi.nlm.nih.gov/gene/",
+ "GeneI... | 1 |
diff --git a/src/components/tile/tile.stories.js b/src/components/tile/tile.stories.js @@ -12,7 +12,7 @@ Tile.__docgenInfo = getDocGenInfo(
/tile\.component(?!spec)/
);
-storiesOf('Experimental/Tile', module)
+storiesOf('Tile', module)
.add('default', () => {
const percentageOpts = {
range: true,
| 10 |
diff --git a/utils/interactions.js b/utils/interactions.js import interactionController from "../controllers/interaction";
export const lastMessageTime = async userId => {
- const data = await interactionController.lastMessage(userId);
+ let data = await interactionController.lastMessage(userId);
- return data[0].date;... | 1 |
diff --git a/scenes/ScenePublicSlate.js b/scenes/ScenePublicSlate.js @@ -11,20 +11,32 @@ export default class ScenePublicSlate extends React.Component {
slate: null,
};
- componentDidMount = () => {
- this.renderSlate();
+ componentDidMount = async () => {
+ await this.renderSlate();
};
- componentDidUpdate = (prevProp... | 1 |
diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php @@ -535,20 +535,12 @@ App::patch('/v1/database/collections/:collectionId/documents/:documentId')
throw new Exception('No document found', 404);
}
- //TODO check merge read write permissions
-
- if (!empty($read)) { // Overwrite permissions... | 11 |
diff --git a/src/utils/innerSliderUtils.js b/src/utils/innerSliderUtils.js @@ -238,7 +238,7 @@ export const changeSlide = (spec, options) => {
return null
}
if (infinite) {
- let direction = siblingDirection(spec)
+ let direction = siblingDirection({...spec, targetSlide})
if (targetSlide > options.currentSlide && direc... | 1 |
diff --git a/README.md b/README.md +## IMPORTANT
+
+You are viewing the documentation for the latest **v6.0.0-alpha** release. you can install it with:
+
+```
+npm i serverless@next --save-dev
+```
+
+In order to see the **documentation** for the latest stable **v5.x** release, go to https://github.com/dherault/serverl... | 0 |
diff --git a/src/io_frida.c b/src/io_frida.c @@ -68,61 +68,6 @@ static RCore *get_r_core_main_instance() {
return NULL;
}
-static char *slurpFile(const char *str, int *usz) {
- size_t rsz;
- char *ret;
- long sz;
-
- FILE *fd = r_sandbox_fopen (str, "rb");
- if (!fd) {
- if (*str == '/') {
- return NULL;
- }
- char *ne... | 14 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -22094,6 +22094,7 @@ function negbinoCal() {
document.getElementById("vectans1").innerHTML = "The calculated magnitude of vector is: "+Math.sqrt(sq);
}
}
+}
function divisorSum(N, K)
{
| 1 |
diff --git a/OpenRobertaParent/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/codegen/mbed/microbit/PythonVisitor.java b/OpenRobertaParent/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/codegen/mbed/microbit/PythonVisitor.java @@ -788,9 +788,11 @@ public class PythonVisitor extends RobotPythonVisitor implements... | 7 |
diff --git a/platform/base/core/src/test/java/com/peregrine/sitemap/PageRecognizerBaseTest.java b/platform/base/core/src/test/java/com/peregrine/sitemap/PageRecognizerBaseTest.java @@ -6,7 +6,9 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
-import static com.p... | 14 |
diff --git a/src/react/projects/spark-react/src/SprkDropdown/SprkDropdown.test.js b/src/react/projects/spark-react/src/SprkDropdown/SprkDropdown.test.js @@ -51,12 +51,12 @@ it('should add classes to the trigger text when additionalTriggerTextClasses has
it('should assign data-analytics when analyticsString has a value'... | 3 |
diff --git a/plugins/auth/auth_base.js b/plugins/auth/auth_base.js @@ -16,7 +16,7 @@ exports.hook_capabilities = function (next, connection) {
if (!connection.tls.enabled) { return next(); }
const methods = [ 'PLAIN', 'LOGIN', 'CRAM-MD5' ];
- connection.capabilities.push('AUTH ' + methods.join(' '));
+ connection.capab... | 14 |
diff --git a/spec/requests/carto/api/public/data_observatory_controller_spec.rb b/spec/requests/carto/api/public/data_observatory_controller_spec.rb @@ -17,8 +17,6 @@ describe Carto::Api::Public::DataObservatoryController do
@headers = { 'CONTENT_TYPE' => 'application/json' }
populate_do_metadata
@feature_flag = Factor... | 2 |
diff --git a/src/parsers/seeker/GmlSeekerJSDoc.hx b/src/parsers/seeker/GmlSeekerJSDoc.hx @@ -368,7 +368,7 @@ class GmlSeekerJSDoc {
seeker.doc.pre = seeker.main + "(";
} else seeker.doc.post += " " + s;
}
- seeker.mainComp.doc = seeker.doc.getAcText();
+ if (seeker.mainComp != null) seeker.mainComp.doc = seeker.doc.get... | 1 |
diff --git a/package.json b/package.json "watch-test": "ava --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
- "build": "npm run build-modules && npm run build-umd",
+ "build": "npm run clean-dist && npm run build-modules && npm run build-umd",
+ "clean-dist": "rimraf dist",
"buil... | 0 |
diff --git a/src/og/scene/Planet.js b/src/og/scene/Planet.js @@ -1006,14 +1006,6 @@ export class Planet extends RenderNode {
let temp = this._renderedNodes, rf = this._renderedNodesInFrustum, temp2 = [];
- this._renderedNodes = [];
-
- // clearing nodes in frustums
- for (let i = 0, len = this._renderedNodesInFrustum.l... | 2 |
diff --git a/apps/metronome/ChangeLog b/apps/metronome/ChangeLog 0.01: New App!
0.02: Watch vibrates with every beat
0.03: Uses mean of three time intervalls to calculate bmp
-0.04: App gives manual instructions
+0.04: App shows instructions, Widgets remain visible, color changed
| 3 |
diff --git a/src/user_interface.js b/src/user_interface.js @@ -62,11 +62,11 @@ class gltfUserInterface
const self = this;
function createElement(gltf)
{
- let modelKeys = self.modelPathProvider.getAllKeys();
+ const modelKeys = self.modelPathProvider.getAllKeys();
if (gltf !== undefined && !self.modelPathProvider.pathE... | 14 |
diff --git a/lib/inspectors/data.js b/lib/inspectors/data.js @@ -107,8 +107,8 @@ function emitDataEvents(req, res, proxy) {
unzip(req.headers['content-encoding'], reqBody,
function(err, body) {
data.requestTime = Date.now();
- reqData.size = reqSize;
reqData.body = err ? util.getErrorStack(err) : util.decodeBuffer(body... | 1 |
diff --git a/src/markdown/lexicon/core-components/navigation/horizontal-nav.md b/src/markdown/lexicon/core-components/navigation/horizontal-nav.md @@ -40,10 +40,10 @@ When the number of tabs exceeds the navbar's size, the overflowing tabs are coll
The positive navigation bar is defined for Sites. It displays navigation... | 14 |
diff --git a/articles/libraries/auth0-android/index.md b/articles/libraries/auth0-android/index.md @@ -42,19 +42,7 @@ Open your app's `AndroidManifest.xml` file and add the following permission.
## Initialize Auth0
-You can set up your Auth0 credentials and initiate Auth0 in one of two ways:
-
-### 1) Client informatio... | 3 |
diff --git a/docs/src/pages/vue-components/date.md b/docs/src/pages/vue-components/date.md @@ -73,7 +73,7 @@ More info: [QSplitter](/vue-components/splitter), [QTabPanels](/vue-components/t
### With QInput
<doc-example title="With QInput" file="QDate/Input" />
-More info: [QInput](/vue-components/input), [QInput](/vue-... | 2 |
diff --git a/token-metadata/0x3F8A2f7bcD70e7F7Bdd3FbB079c11d073588DEA2/metadata.json b/token-metadata/0x3F8A2f7bcD70e7F7Bdd3FbB079c11d073588DEA2/metadata.json "symbol": "FIRE",
"address": "0x3F8A2f7bcD70e7F7Bdd3FbB079c11d073588DEA2",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/dapps/marketplace/src/pages/listing/mutations/Buy.js b/dapps/marketplace/src/pages/listing/mutations/Buy.js @@ -336,7 +336,7 @@ class Buy extends Component {
token: this.props.currency,
from: this.props.from,
to: 'marketplace',
- value: '50000'
+ value: this.props.value
}
allowToken({ variables })
| 12 |
diff --git a/sandbox/public/index.html b/sandbox/public/index.html alloy("configure", {
// edgeDomain: "konductor.int.gslb.eegw.adobedc.net",
// optInEnabled: true,
- // urlDestinationsEnabled: true,
- // cookieDestinationsEnabled: false,
// errorsEnabled: false,
// thirdPartyCookiesEnabled: false,
edgeDomain:
orgId: "... | 2 |
diff --git a/src/kite.js b/src/kite.js @@ -215,7 +215,7 @@ const Kite = {
vscode.commands.registerCommand('kite.more', ({id, source}) => {
metrics.track(`${source} See info clicked`);
- opn(`kite://docs/${id}`);
+ kiteOpen(`kite://docs/${id}`);
});
vscode.commands.registerCommand('kite.more-position', ({position, sourc... | 4 |
diff --git a/app/helpers/camaleon_cms/frontend/seo_helper.rb b/app/helpers/camaleon_cms/frontend/seo_helper.rb @@ -72,7 +72,7 @@ module CamaleonCms::Frontend::SeoHelper
if l.size > 1
l.each do |lang|
s[:alternate] << {
- href: @object.present? ? @object.the_url(locale: lang) : cama_url_to_fixed("url_for", {locale: lang... | 7 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -2211,6 +2211,8 @@ class Avatar {
const animationIndices = animationStepIndices.find(i => i.name === walkRunAnimationName);
const {leftStepIndices, rightStepIndices} = animationIndices;
+ // HACK: this is used to dynamically control the step offset for a particula... | 0 |
diff --git a/Specs/Scene/WebMapServiceImageryProviderSpec.js b/Specs/Scene/WebMapServiceImageryProviderSpec.js @@ -1869,58 +1869,33 @@ describe("Scene/WebMapServiceImageryProvider", function () {
});
it("uses getFeatureInfoUrl in options for getFeatureInfo", function () {
+ var featureUrl = "made/up/wms/feature/server"... | 1 |
diff --git a/docs/examples/controlled.md b/docs/examples/controlled.md -## Thumbnails
+## Controlled component
You can use Carousel as a controlled component. Provided value will be clamped depending on the number of slides. E.g. if there are 3 slides, all values greater than 2 (index of the last element) will evaluate... | 1 |
diff --git a/src/components/Story/Body.less b/src/components/Story/Body.less .Body {
font-family: @font-text;
- color: rgba(0, 0, 0, .8);
+ color: rgba(0, 0, 0, 0.8);
line-height: 1.6em;
overflow-wrap: break-word;
word-wrap: break-word;
@media @small {
font-size: 21px;
}
+
+ p {
+ margin: 0 0 1.5rem 0;
+ }
}
// Heading... | 2 |
diff --git a/src/cli/commands/utils.js b/src/cli/commands/utils.js @@ -175,15 +175,15 @@ const loadInstanceConfig = async (directoryPath) => {
instanceFile.stage = args.stage
}
- if (!instanceFile.org) {
- instanceFile.org = await getDefaultOrgName()
- }
-
// if org flag provided, overwrite
if (args.org) {
instanceFile... | 7 |
diff --git a/provision_utils.go b/provision_utils.go @@ -544,6 +544,7 @@ func insertPythonProxyResources(serviceName string,
return copyErr
}
+// TODO - replace this with https://golang.org/pkg/runtime/#Version
func systemGoVersion(logger *logrus.Logger) (string, error) {
// Go generate
cmd := exec.Command("go", "versi... | 0 |
diff --git a/includes/Core/Storage/Active_Consumers.php b/includes/Core/Storage/Active_Consumers.php @@ -47,26 +47,4 @@ class Active_Consumers extends User_Setting {
protected function get_default() {
return array();
}
-
- /**
- * Adds the current user to the list of active consumers
- *
- * @since n.e.x.t
- */
- publi... | 2 |
diff --git a/.github/workflows/utils/android.yml b/.github/workflows/utils/android.yml @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-# - name: Git branch name
-# id: git-branch-name
-# uses: EthanSK/git-branch-name-action@v1
+ - name: Git branch name
+ id: git-branch-name
+ uses: ... | 13 |
diff --git a/_data/conferences.yml b/_data/conferences.yml ---
-- title: BMVC
- hindex: 57
- year: 2021
- id: bmvc21
- link: https://britishmachinevisionassociation.github.io/bmvc
- deadline: '2021-06-25 23:59:59'
- abstract_deadline: '2021-06-18 23:59:59'
- timezone: UTC-8
- date: November 22-25, 2021
- place: Online
... | 2 |
diff --git a/app/lib/RoomClient.js b/app/lib/RoomClient.js @@ -197,17 +197,18 @@ export default class RoomClient
{
logger.debug('installExtension()');
- return Promise.resolve()
- .then(() =>
+ return new Promise((resolve, reject) =>
{
window.addEventListener('message', _onExtensionMessage, false);
+ // eslint-disable-... | 1 |
diff --git a/main.js b/main.js @@ -147,7 +147,10 @@ class Zigbee extends utils.Adapter {
}
* getExternalDefinition() {
- const extfiles = this.config.external.split(';') || [];
+ if (this.config.external === undefined) {
+ return;
+ }
+ const extfiles = this.config.external.split(';');
for (const moduleName of extfiles... | 7 |
diff --git a/Source/DataSources/KmlDataSource.js b/Source/DataSources/KmlDataSource.js @@ -555,8 +555,6 @@ define([
return resource;
}
- var colorOptions = {};
-
function parseColorString(value, isRandom) {
if (!defined(value) || /^\s*$/gm.test(value)) {
return undefined;
@@ -575,6 +573,8 @@ define([
return new Color(r... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -54723,10 +54723,20 @@ var $$IMU_EXPORT$$;
return add_extensions_upper(src.replace(/(\/NewlinkFiles\/+[0-9]+\/+(?:[^/]*\/+)?[^/]+)_[0-9]+x[0-9]+(\.[^/.]*)(?:[?#].*)?$/, "$1$2"));
}
- if (domain_nowww === "w-dog.net") {
+ if (domain_nowww === "w-dog.pw" ||
+ domain... | 7 |
diff --git a/src/middleware/packages/ldp/services/resource/actions/get.js b/src/middleware/packages/ldp/services/resource/actions/get.js @@ -57,12 +57,13 @@ module.exports = {
query: `
${getPrefixRdf(this.settings.ontologies)}
CONSTRUCT {
- <${resourceUri}> ?p1 ?o1 .
+ ?s1 ?p1 ?o1 .
${blandNodeQuery.construct}
${derefe... | 1 |
diff --git a/dual-contouring.js b/dual-contouring.js @@ -845,25 +845,30 @@ w.createMobSplatAsync = async (inst, taskId, x, z, lod, priority) => {
w.setCamera = (
inst,
- position,
- quaternion,
+ worldPosition,
+ cameraPosition,
+ cameraQuaternion,
projectionMatrix
) => {
const allocator = new Allocator(Module);
- cons... | 0 |
diff --git a/contracts/core/State.sol b/contracts/core/State.sol @@ -75,7 +75,7 @@ contract State is Objects, ReentrancyGuard, Ownable {
uint256 public sourceBuffer = 10000; // used as buffer for swap source amount estimations
- uint256 public maxSwapSize = 1500 ether; // maximum support swap size in ETH
+ uint256 publ... | 12 |
diff --git a/js/bam/bamAlignmentRow.js b/js/bam/bamAlignmentRow.js * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-import {hashCode} from "../util/stringUtils.js"
+import {hashCode, isString} from "../util/stringUtils.js"
const BamAlignmentRow = function () {
@@ -93,7 +93... | 9 |
diff --git a/js/webviewMenu.js b/js/webviewMenu.js @@ -146,7 +146,7 @@ const webviewMenu = {
{
label: l('saveImageAs'),
click: function () {
- remote.getCurrentWebContents().downloadURL(mediaURL)
+ ipc.invoke('downloadURL', mediaURL)
}
}
])
| 2 |
diff --git a/test-complete/nodejs-documents-transaction-combo.js b/test-complete/nodejs-documents-transaction-combo.js @@ -41,6 +41,11 @@ describe('Transaction combo test', function() {
.then(function(response) {
//console.log(JSON.stringify(response, null, 2));
response.documents[0].uri.should.equal('/test/transaction... | 0 |
diff --git a/src/lib/utils/isProductBestseller.js b/src/lib/utils/isProductBestseller.js * @returns {Boolean} - Indicates whether the product is a best seller
*/
export default function isProductBestseller(product) {
- // This is a placeholder.
- // Remove the placeholder check and only `return product.isBestseller`
- ... | 2 |
diff --git a/webdriver-ts/package.json b/webdriver-ts/package.json "typescript": "2.4.2"
},
"dependencies": {
- "chromedriver": "2.31.0",
- "dot": "1.1.2",
- "jstat": "1.7.0",
+ "chromedriver": "2.28.0",
+ "dot": "1.1.1",
+ "jstat": "1.6.2",
"lodash": "4.17.4",
"rgba-convert": "0.3.0",
- "selenium-webdriver": "^3.5.0",... | 13 |
diff --git a/docs/README.md b/docs/README.md @@ -197,10 +197,6 @@ The most updated and useful are :
* [radar](https://github.com/andrewrk/mineflayer-radar/) - web based radar
interface using canvas and socket.io. [YouTube Demo](https://www.youtube.com/watch?v=FjDmAfcVulQ)
- * [blockfinder](https://github.com/Darthfett/... | 2 |
diff --git a/apps/nbsite/urls.py b/apps/nbsite/urls.py @@ -62,7 +62,7 @@ urlpatterns = [
url(r'^r/(\d+)$' , pages_views.comment),
url(r'^d/(\d+)$' , pages_views.ondemand),
url(r'^settings$' , pages_views.your_settings,),
- url(r'^embedopenid$' , pages_views.embedopenid,),
+# url(r'^embedopenid$' , pages_views.embedopen... | 2 |
diff --git a/CHANGES.md b/CHANGES.md ##### Fixes :wrench:
-- Fixed the `subdomains` feature that is provided by `UrlTemplateImageryProvider`and available to `WebMapServiceImageryProvider` and `WebMapTileServiceImageryProvider`. [#9606](https://github.com/CesiumGS/cesium/pull/9606)
+- Fixed an issue in `WebMapTileServic... | 3 |
diff --git a/src/icons/GlyphSmallArrow.js b/src/icons/GlyphSmallArrow.js @@ -2,7 +2,7 @@ import React from 'react'
const GlyphSmallArrows = props => (
<svg viewBox="0 0 32 21" {...props}>
- <path d="M16 20.2L0.5 4.7L4.4 0.800003L16 12.4L27.6 0.800003L31.5 4.7C26.3 9.8 21.2 15 16 20.2Z" fill="currentColor"/>
+ <path d="... | 1 |
diff --git a/origin-graphql/src/contracts.js b/origin-graphql/src/contracts.js @@ -137,6 +137,7 @@ const Configs = {
ipfsGateway: 'https://ipfs.dev.originprotocol.com',
ipfsRPC: 'https://ipfs.dev.originprotocol.com',
discovery: 'https://discovery.dev.originprotocol.com',
+ growth: 'https://growth.dev.originprotocol.com... | 12 |
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -1261,7 +1261,8 @@ Blockly.WorkspaceSvg.prototype.detectWorkspace = function(e) {
var targetWS = mainWS;
for (var i = 0, child; child = children[i]; i++) {
var ws = children.pop();
- var visible = ws.rendered && (!ws.isFlyout || ws.isVisibleFlyout);
+ var vi... | 8 |
diff --git a/generators/server/templates/src/main/java/package/config/apidoc/SwaggerSecurityCustomizer.java.ejs b/generators/server/templates/src/main/java/package/config/apidoc/SwaggerSecurityCustomizer.java.ejs @@ -42,7 +42,6 @@ public class SwaggerSecurityCustomizer implements SwaggerCustomizer {
<%_ if (application... | 2 |
diff --git a/_layouts/home.html b/_layouts/home.html <div class="row">
<div class="col-xs-12">
{% for sub in conf.sub %}
- <span title="Click to only show {{sub}} conferences" data-sub="{{sub}}" class="conf-sub" id="{{sub}}"></span>
+ <span title="Click to only show {{sub}} conferences" data-sub="{{sub}}" class="conf-s... | 5 |
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -1391,7 +1391,7 @@ InteractiveVideo.prototype.resumeVideo = function (override) {
* @param {boolean} show - If true will show, if false will hide, toggle otherwise
*/
InteractiveVideo.prototype.toggleEndscreen = function (show) {
- if (... | 1 |
diff --git a/runner/src/main/resources/view/app.js b/runner/src/main/resources/view/app.js @@ -36,8 +36,7 @@ function PlayerCtrl ($scope, $timeout, $interval, $filter, drawerFactory, gameMa
$interval(checkSize, 1000)
- $scope.errors = ''
- $scope.errorTable = {}
+ $scope.errors = {}
ErrorLog.listen(function (error) {
a... | 1 |
diff --git a/util.go b/util.go @@ -45,11 +45,32 @@ func relativePath(logPath string) string {
return logPath
}
+// workResult is the result from a worker task
type workResult interface {
Result() interface{}
Error() error
}
+// taskResult is a convenience type for a task poll return value
+type taskResult struct {
+ re... | 0 |
diff --git a/src/components/HOCs/WithFilteredClusteredTasks/WithFilteredClusteredTasks.js b/src/components/HOCs/WithFilteredClusteredTasks/WithFilteredClusteredTasks.js @@ -227,13 +227,26 @@ export default function WithFilteredClusteredTasks(WrappedComponent,
/**
* Select multiple tasks matching the given task ids
*/
-... | 11 |
diff --git a/articles/quickstart/backend/golang/01-authorization.md b/articles/quickstart/backend/golang/01-authorization.md @@ -21,7 +21,7 @@ useCase: quickstart
### Download dependencies
-Start by adding a `go.mod` file to list all the dependencies to be used.
+Add a `go.mod` file to list all the dependencies to be u... | 7 |
diff --git a/core/diagnosis_manager.js b/core/diagnosis_manager.js @@ -11,9 +11,9 @@ goog.provide('Blockly.ErrorItem');
goog.require('goog.asserts');
/**
- * Class to manage reasons why a dragged block is not allowed to connect to
- * the closest connection, why it's dropped in the current position, or etc
- * during a... | 1 |
diff --git a/src/core/operations/Code.js b/src/core/operations/Code.js @@ -225,13 +225,18 @@ const Code = {
regexes.lastIndex = m.index;
}
+ code = code
// Create newlines after ;
- code = code.replace(/;/g, ";\n")
+ .replace(/;/g, ";\n")
+ // Create newlines after { and around }
.replace(/{/g, "{\n")
.replace(/}/g, "\... | 1 |
diff --git a/assets/js/components/notifications/CoreSiteBannerNotifications.js b/assets/js/components/notifications/CoreSiteBannerNotifications.js @@ -26,14 +26,10 @@ import { useEffect, useState, useRef } from '@wordpress/element';
* Internal dependencies
*/
import Data from 'googlesitekit-data';
-const { useSelect } ... | 4 |
diff --git a/packages/app/src/server/models/user.js b/packages/app/src/server/models/user.js @@ -47,7 +47,7 @@ module.exports = function(crowi) {
name: { type: String },
username: { type: String, required: true, unique: true },
email: { type: String, unique: true, sparse: true },
- slackMemberId: { type: String, unique... | 12 |
diff --git a/docs/content/widgets/Validators.js b/docs/content/widgets/Validators.js @@ -55,7 +55,7 @@ export const Validators = <cx>
</div>
</div>
- <CodeSnippet putInto="code">{`
+ <CodeSnippet putInto="code" fiddle="0MyopqEE">{`
<div class="widgets"
style={{
display: "block",
| 0 |
diff --git a/OurUmbraco/Documentation/DocumentationContentFinder.cs b/OurUmbraco/Documentation/DocumentationContentFinder.cs @@ -143,7 +143,7 @@ namespace OurUmbraco.Documentation
{
public static string MarkdownFileEditLink()
{
- string branchName = "master";
+ string branchName = "main";
string baseUrl = "https://gith... | 10 |
diff --git a/src/components/common/form/InputText.js b/src/components/common/form/InputText.js @@ -6,7 +6,7 @@ import normalize from 'react-native-elements/src/helpers/normalizeText'
import Icon from '../view/Icon'
import { withStyles } from '../../../lib/styles'
-const InputText = ({ error, onCleanUpField, styles, the... | 0 |
diff --git a/data.js b/data.js @@ -107,6 +107,14 @@ module.exports = [
url: "https://github.com/abdi0987/ViaJS",
source: "https://raw.githubusercontent.com/abdi0987/ViaJS/master/lib/app.js"
},
+ {
+ name: "miq",
+ github: "edwinm/miq",
+ tags: ["jquery", "dom", "ajax"],
+ description: "Lightweight modern jQuery-like DO... | 0 |
diff --git a/js/bitget.js b/js/bitget.js @@ -3399,9 +3399,17 @@ module.exports = class bitget extends Exchange {
* @returns {[object]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
*/
await this.loadMarkets ();
+ const sandboxMode = this.safeValue (this.options, 's... | 9 |
diff --git a/activities/Flip.activity/icons/help-toolbar.svg b/activities/Flip.activity/icons/help-toolbar.svg version="1.0"
width="55"
height="55"
- viewBox="0 0 55 55"
id="svg2">
+ <defs
+ id="defs4" />
+ <rect
+ width="3.6656132"
+ height="9.5444069"
+ x="-42.845825"
+ y="-15.126163"
+ transform="matrix(-0.89091996,... | 14 |
diff --git a/includes/Modules/AdSense.php b/includes/Modules/AdSense.php @@ -257,7 +257,6 @@ tag_partner: "site_kit"
'label' => __( 'AdSense account status', 'google-site-kit' ),
'value' => $settings['accountStatus'],
),
- // TODO: adsense_site_status.
'adsense_use_snippet' => array(
'label' => __( 'AdSense snippet pla... | 2 |
diff --git a/app/views/index.scala.html b/app/views/index.scala.html </div>
<script language="javascript">
+ var auditedDistance = @("%.0f".format(StreetEdgeTable.auditedStreetDistance(1)));
+ if("@Messages("measurement.system")" == "metric") auditedDistance *= 1.60934;
if(@("%.0f".format(StreetEdgeTable.streetDistance... | 3 |
diff --git a/world.js b/world.js @@ -392,16 +392,6 @@ world.bindInput = () => {
throw new Error('could not resolve query string to start spec: ' + JSON.stringify(q));
}
}; */
-
-world.getObjectFromPhysicsId = physicsId => {
- const objects = appManager.getObjects();
- for (const object of objects) {
- if (object.getPhy... | 2 |
diff --git a/token-metadata/0x6A7Ef4998eB9d0f706238756949F311a59E05745/metadata.json b/token-metadata/0x6A7Ef4998eB9d0f706238756949F311a59E05745/metadata.json "symbol": "KEN",
"address": "0x6A7Ef4998eB9d0f706238756949F311a59E05745",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/pages/barters/index.css b/src/pages/barters/index.css align-items: center;
max-width: 1200px;
margin: auto;
+ white-space: nowrap;
}
.barters-page-title {
margin: 0;
flex-grow: 1;
+ text-align: center;
}
.cost-wrapper {
flex-grow: 1;
white-space: nowrap;
}
+
+@media screen and (min-width: 710px) {
+ .b... | 1 |
diff --git a/src/components/_classes/component/Component.js b/src/components/_classes/component/Component.js @@ -693,7 +693,7 @@ export default class Component extends Element {
*/
sanitize(dirty) {
return sanitize(dirty, {
- ADD_ATTR: ['ref'],
+ ADD_ATTR: ['ref', 'target'],
USE_PROFILES: {
html: true
}
| 11 |
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 "5.4.0">
+<!ENTITY version-java-client "5.4.1">
<... | 12 |
diff --git a/README.md b/README.md @@ -14,7 +14,6 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu
- [11ty on npm](https://www.npmjs.com/org/11ty)
- [11ty on GitHub](https://github.com/11ty)
- Continuous Integration:
- - [Travis CI](https://travis-ci.org/11ty/eleventy)
- [GitHub Actio... | 2 |
diff --git a/src/parser/comment.js b/src/parser/comment.js @@ -15,7 +15,7 @@ module.exports = {
null,
this
);
- this.token = this.lexer.lex() || this.EOF;
+ this.lex();
return result(text);
},
/**
@@ -24,7 +24,7 @@ module.exports = {
read_doc_comment: function() {
const result = this.ast.prepare("commentblock", null, t... | 4 |
diff --git a/token-metadata/0xD46bA6D942050d489DBd938a2C909A5d5039A161/metadata.json b/token-metadata/0xD46bA6D942050d489DBd938a2C909A5d5039A161/metadata.json "symbol": "AMPL",
"address": "0xD46bA6D942050d489DBd938a2C909A5d5039A161",
"decimals": 9,
- "dharmaVerificationStatus": "VERIFIED",
- "tags": ["yield-farming"]
+... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/radio/radio.tpl b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/radio/radio.tpl <% _.each(items, function(item, index) { %>
<li class="u-flex u-alignCenter <%- (index === (items.length - 1)) ? '' : 'u-rSpace--... | 12 |
diff --git a/components/base-adresse-nationale/languages-preview.js b/components/base-adresse-nationale/languages-preview.js +import {useState} from 'react'
import PropTypes from 'prop-types'
import Image from 'next/image'
import {HelpCircle} from 'react-feather'
@@ -5,6 +6,8 @@ import {HelpCircle} from 'react-feather'... | 9 |
diff --git a/assets/js/googlesitekit/widgets/components/WidgetAreaRenderer.js b/assets/js/googlesitekit/widgets/components/WidgetAreaRenderer.js @@ -38,6 +38,7 @@ const WIDTH_GRID_COUNTER_MAP = {
const WIDTH_GRID_CLASS_MAP = {
[ WIDGET_WIDTHS.QUARTER ]: [
'mdc-layout-grid__cell',
+ 'mdc-layout-grid__cell--span-2-phone'... | 12 |
diff --git a/docs/API.md b/docs/API.md @@ -57,10 +57,12 @@ __Parameters__
|---|---|---|
| `endPoint` | _string_ | endPoint is a host name or an IP address. |
| `port` | _number_ | TCP/IP port number. This input is optional. Default value set to 80 for HTTP and 443 for HTTPs. |
+|`secure` | _bool_ |If set to true, https... | 0 |
diff --git a/src/node.js b/src/node.js @@ -100,7 +100,11 @@ class gltfNode extends GltfObject
if(this.transform === undefined || this.changed)
{
this.transform = mat4.create();
+ // If this node has skin, then this node's transform must be ignored.
+ // https://github.com/KhronosGroup/glTF/tree/master/specification/2.0... | 8 |
diff --git a/source/views/menu/MenuOptionView.js b/source/views/menu/MenuOptionView.js import { Class } from '../../core/Core.js';
-import /* { property, on, observes } from */ '../../foundation/Decorators.js';
-import { invokeAfterDelay, cancel } from '../../foundation/RunLoop.js';
-import { View } from '../View.js';
... | 0 |
diff --git a/src/og/webgl/Handler.js b/src/og/webgl/Handler.js @@ -579,7 +579,6 @@ class Handler {
* @public
*/
initialize() {
-
if (this._id) {
this.canvas = document.getElementById(this._id);
} else {
@@ -745,6 +744,25 @@ class Handler {
return buffer;
}
+ /**
+ * Creates ARRAY buffer specific length.
+ * @public
+ *... | 0 |
diff --git a/lib/cartodb/models/dataview/aggregation.js b/lib/cartodb/models/dataview/aggregation.js @@ -196,11 +196,11 @@ module.exports = class Aggregation extends BaseDataview {
super();
if (typeof options.column !== 'string') {
- throw new Error(`Aggregation expects 'column' in widget options`);
+ throw new Error(`... | 10 |
diff --git a/test/jasmine/tests/scattermapbox_test.js b/test/jasmine/tests/scattermapbox_test.js @@ -465,6 +465,28 @@ describe('scattermapbox convert', function() {
expect(symbolProps).toEqual(expected, 'geojson properties');
});
+
+ it('should allow symbols to be rotated and overlapped', function() {
+ var opts = _con... | 0 |
diff --git a/source/Table/Table.js b/source/Table/Table.js @@ -552,7 +552,7 @@ export default class Table extends PureComponent {
ariaSort = sortDirection === SortDirection.ASC ? 'ascending' : 'descending';
}
- const colHeaderProps = {
+ const headerProps = {
id: id || undefined,
role: 'columnheader',
'aria-label': ari... | 10 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/contentview/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/contentview/template.vue v-bind:class = "editableClass"
ref = "editable"
id = "editable"
- draggable = "true"
- v-on:dragstart = "onDragStart">
+ ... | 11 |
diff --git a/src/js/core.js b/src/js/core.js //trigger sort
setSort:function(sortList, dir){
if(this.extExists("sort", true)){
- self.extensions.sort.setSort(sortList, dir);
+ this.extensions.sort.setSort(sortList, dir);
}
},
getSort:function(){
if(this.extExists("sort", true)){
- return self.extensions.sort.getSort();... | 1 |
diff --git a/modules/statistics/LocalStatsCollector.js b/modules/statistics/LocalStatsCollector.js @@ -22,7 +22,16 @@ var context = null;
if(window.AudioContext) {
context = new AudioContext();
- context.suspend();
+
+ // XXX Not all browsers define a suspend method on AudioContext. As the
+ // invocation is at the (ES... | 1 |
diff --git a/test/routes/v2-parts.test.js b/test/routes/v2-parts.test.js @@ -20,7 +20,6 @@ test('It should return all v2 capsules', async () => {
expect(item).toHaveProperty('capsule_id');
expect(item).toHaveProperty('status');
expect(item).toHaveProperty('original_launch');
- expect(item.missions.length).toBeGreaterTh... | 11 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -362,16 +362,14 @@ module.exports = (grunt) => {
*/
function assertBrowserIsSupported(browser) {
const supportedBrowsers = ['chrome', 'firefox'];
+ const browsersLabel = `Currently supported browsers: ${supportedBrowsers.join(', ')}`;
if (!browser) {
- grunt.fail.fatal(
- 'Yo... | 7 |
diff --git a/state.js b/state.js @@ -41,11 +41,10 @@ export const state = {
}
};
-const emitChange = (changedKeys, cb) => {
+const emitChange = changedKeys => {
window.dispatchEvent(new CustomEvent('stateChanged', {
detail: {
changedKeys,
- cb
}
}));
};
@@ -58,11 +57,11 @@ export const getSpecificState = (keys) => {
re... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.