code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/dataset.js b/src/dataset.js @@ -251,13 +251,28 @@ export class Dataset { * By default, the element name is `page` or `result`, depending on the value of the `simplified` option. * @param {Boolean} [options.skipHeaderRow=false] * If set to `true` then header row in CSV format is skipped. + * @param {Boo...
7
diff --git a/README.md b/README.md @@ -80,10 +80,10 @@ GET https://api.spacexdata.com/v1/launches/latest "mission_patch": "https://i.imgur.com/03gonKW.png", "reddit_campaign": "https://www.reddit.com/r/spacex/comments/6yvn64/ses11echostar_105_launch_campaign_thread/", "reddit_launch": "https://www.reddit.com/r/spacex/c...
3
diff --git a/src/plugins/Dashboard/StatusBar.js b/src/plugins/Dashboard/StatusBar.js @@ -9,7 +9,7 @@ module.exports = (props) => { <div class="UppyDashboard-statusBar ${props.isAllComplete ? 'is-complete' : ''}" aria-hidden="${isHidden}"> - + <progress style="display: none;" min="0" max="100" value="${props.totalProgre...
0
diff --git a/1-getting-started-lessons/2-github-basics/README.md b/1-getting-started-lessons/2-github-basics/README.md @@ -318,12 +318,12 @@ Read more about [contributing to open source software](https://opensource.guide/ [Git cheatsheet](https://training.github.com/downloads/github-git-cheat-sheet/). -Practice, practi...
14
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb @@ -27,7 +27,12 @@ class ApplicationController < ActionController::Base logger.debug "* Accept-Language: #{request.env['HTTP_ACCEPT_LANGUAGE']}" locale = current_user&.locale || extract_locale_from_accept_language_header ...
9
diff --git a/client/components/AvailabilityGrid/AvailabilityGrid.js b/client/components/AvailabilityGrid/AvailabilityGrid.js @@ -172,7 +172,7 @@ class AvailabilityGrid extends React.Component { } @autobind - showAvailBox(ev) { + handleCellMouseOver(ev) { if (this.props.heatmap && $(ev.target).css('background-color') !=...
10
diff --git a/src/components/topic/StoryTable.js b/src/components/topic/StoryTable.js @@ -120,10 +120,10 @@ class StoryTable extends React.Component { </LinkWithFilters> </td> <td><span className={`story-date ${dateStyle}`}>{dateToShow}</span></td> - <td><FormattedNumber value={story.media_inlink_count} /></td> - <td><F...
9
diff --git a/userscript.user.js b/userscript.user.js @@ -73016,11 +73016,14 @@ var $$IMU_EXPORT$$; // https://times.abema.tv/news-article/8627773 // https://d13krdvwknzmgv.cloudfront.net/files/rcms_conv_webp/files/topics/8627773_ext_col_03_0_1602124257.webp?v=1602126005 // https://d13krdvwknzmgv.cloudfront.net/files/to...
7
diff --git a/test/acceptance/handle-query.js b/test/acceptance/handle-query.js @@ -8,18 +8,40 @@ const qs = require('querystring'); const QUERY = `SELECT 14 as foo`; const API_KEY = 1234; -const BODY_PAYLOAD = { - q: QUERY, - api_key: API_KEY -}; describe.only('Handle query middleware', function() { ['GET', 'POST'].for...
9
diff --git a/lib/assets/core/javascripts/cartodb3/components/table/body/table-body-cell.tpl b/lib/assets/core/javascripts/cartodb3/components/table/body/table-body-cell.tpl </p> <% if (columnName !== 'cartodb_id') { %> - <button class="CDB-Shape-threePoints is-blue is-small js-options"> + <button class="CDB-Shape-three...
4
diff --git a/test/statsCases/scope-hoisting-multi/expected.txt b/test/statsCases/scope-hoisting-multi/expected.txt -Hash: 731069e082cf620521ced84ccc10b5c4fc7695db +Hash: 731069e082cf620521ce1e4286719458d8076cfc Child Hash: 731069e082cf620521ce Time: Xms @@ -14,7 +14,7 @@ Child [9] (webpack)/test/statsCases/scope-hoisti...
3
diff --git a/app/models/street/StreetEdgeTable.scala b/app/models/street/StreetEdgeTable.scala @@ -260,6 +260,8 @@ object StreetEdgeTable { (_streetEdges, _auditTasks) <- streetEdgesWithoutDeleted.innerJoin(auditTaskQuery).on(_.streetEdgeId === _.streetEdgeId) } yield _streetEdges + // TODO: Audit Count is not taken in...
3
diff --git a/tests/routes/static-pages.test.js b/tests/routes/static-pages.test.js const supertest = require('supertest'); -const start = Date.now(); -console.log(`START DELAY ${Date.now().toString()}`); -while (Date.now() < start + 10000){}; -console.log(`END DELAY ${Date.now().toString()}`); - // Mimic https response...
5
diff --git a/js/templates/modals/orderDetail/summaryTab/orderDetails.html b/js/templates/modals/orderDetail/summaryTab/orderDetails.html <div class="col6"> <div class="txB rowTn"><%= ob.polyT('orderDetail.summaryTab.orderDetails.quantityHeading') %></div> <% - let quantity = item.quantity; + let quantity = typeof item....
9
diff --git a/generators/client/templates/angular/src/main/webapp/app/core/auth/account.service.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/core/auth/account.service.ts.ejs @@ -108,8 +108,8 @@ export class AccountService { <%_ if (enableTranslation) { _%> // After retrieve the account info, the lang...
3
diff --git a/lib/context/MeContext.tsx b/lib/context/MeContext.tsx @@ -16,7 +16,7 @@ const HAS_ACTIVE_MEMBERSHIP_ATTRIBUTE = 'data-has-active-membership' const HAS_ACTIVE_MEMBERSHIP_STORAGE_KEY = 'has-active-membership' const MEMBER_PORTRAIT_ATTRIBUTE = 'data-member-portrait' -const MEMBER_PORTRAIT_STORAGE_KEY = 'membe...
10
diff --git a/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js b/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js * limitations under the License. */ +/** + * External dependencies + */ +import { waitFor } from '@testing-library/react'; + /** * Internal dependencies ...
7
diff --git a/contracts/contracts/strategies/ThreePoolStrategy.sol b/contracts/contracts/strategies/ThreePoolStrategy.sol @@ -157,6 +157,7 @@ contract ThreePoolStrategy is InitializableAbstractStrategy { if (dust > 0) { IERC20(_asset).safeTransfer(vaultAddress, dust); } + amountWithdrawn = _amount; emit Withdrawal( _ass...
12
diff --git a/sparta_test.go b/sparta_test.go @@ -6,7 +6,9 @@ import ( "encoding/json" "fmt" "os" + "strings" "testing" + "time" spartaCFResources "github.com/mweagle/Sparta/aws/cloudformation/resources" gocf "github.com/mweagle/go-cloudformation" @@ -328,3 +330,73 @@ func TestNOP(t *testing.T) { json, _ := json.Marshal...
0
diff --git a/scripts/utils/checkConference.js b/scripts/utils/checkConference.js @@ -7,6 +7,7 @@ const httpNoQuestionmarkRegex = /\?/; const urlShortener = /(\/bit\.ly)|(\/t\.co)/; const usaStateRegex = /, ([A-Z][A-Z])|(D.C.)$/; const emptyStringRegex = /^\s+$|^$/gi; +const onlineRegex = /online|remote|everywhere|world...
7
diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js @@ -3,7 +3,6 @@ let async = require('async'); const cloneDeep = require('clone-deep'); let utils = require('../utils/utils.js'); -const constants = require('../constants'); // TODO: create a contract object @@ -21,13 +20,6 @@ class ContractsManager { ...
2
diff --git a/core/server/api/canary/authentication.js b/core/server/api/canary/authentication.js const Promise = require('bluebird'); const api = require('./index'); const config = require('../../../shared/config'); -const i18n = require('../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const errors = req...
14
diff --git a/thali/install/ios/nativeInstaller.js b/thali/install/ios/nativeInstaller.js @@ -250,6 +250,17 @@ function biuldCocoaAsyncSocket(checkoutDir, buildDir, buildWithTests) { .then(function () { return fs.ensureDir(buildDir); }) + .then(function () { + var frameworkBuildDir = path.join( + buildDir, projectConfig...
0
diff --git a/Specs/karma-main.js b/Specs/karma-main.js customizeJasmine(jasmine.getEnv(), included, excluded, webglValidation, webglStub, release); var specFiles = Object.keys(__karma__.files).filter(function(file) { - return /PickSpec\.js$/.test(file); + return /Spec\.js$/.test(file); }); require(specFiles, function()...
13
diff --git a/src/encoded/tests/data/inserts/generic_quality_metric.json b/src/encoded/tests/data/inserts/generic_quality_metric.json "uuid": "efde5206-bf05-4c9e-a56c-74c9321ef333", "attachment": "CH17_pBACGK1.1n.png", "name": "Common RNA filtering counts metric (PNG)" - }, - { - "status": "released", - "lab": "/labs/mi...
0
diff --git a/apigateway.go b/apigateway.go @@ -555,7 +555,6 @@ func (api *API) export(serviceName string, newDeployment := &gocf.APIGatewayDeployment{ Description: gocf.String("Sparta deploy"), RestAPIID: apiGatewayRestAPIID.String(), - StageName: gocf.String(stageName), } // Use an unstable ID s.t. we can actually cre...
2
diff --git a/tasks/build/optionsSpecification.json b/tasks/build/optionsSpecification.json { "commit": ["commit from which to build", "HEAD"], - "network": ["path to the default network to use", "app/networks/gaia-5000"], + "network": ["path to the default network to use", "app/networks/gaia-5001"], "platform": ["the t...
3
diff --git a/airesources/Ruby/hlt/ship.rb b/airesources/Ruby/hlt/ship.rb @@ -36,10 +36,10 @@ class Ship < Entity # Generate a command to accelerate this ship. # magnitude: The speed through which to move the ship - # angle: The angle to move the ship in + # angle: The angle to move the ship in. Should always be a posit...
1
diff --git a/token-metadata/0x51BFCdf5282292425faA0426FB9Db6f14B4cf956/metadata.json b/token-metadata/0x51BFCdf5282292425faA0426FB9Db6f14B4cf956/metadata.json "symbol": "HCASH", "address": "0x51BFCdf5282292425faA0426FB9Db6f14B4cf956", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: "15.x" + node-version: "16.x" - run: npm install - run: npm run check-dependencies - run: npm test
3
diff --git a/content/blog/how-to-use-react-context-effectively/index.md b/content/blog/how-to-use-react-context-effectively/index.md @@ -138,10 +138,10 @@ function countReducer(state, action) { } function CountProvider({children}) { - const [state, setCount] = React.useReducer(countReducer, {count: 0}) + const [state, ...
10
diff --git a/includes/Core/Util/Debug_Data.php b/includes/Core/Util/Debug_Data.php @@ -70,14 +70,6 @@ class Debug_Data { */ private $modules; - /** - * Dismissed_Items instance. - * - * @since 1.5.0 - * @var Dismissed_Items - */ - private $dismissed_items; - /** * Permissions instance. * @@ -96,7 +88,6 @@ class Debug_D...
2
diff --git a/public/views/walletHome.html b/public/views/walletHome.html @@ -227,8 +227,8 @@ input.datafeed_input { </span> </div> - <div class="text-center" ng-click="home.copyAddress(home.addr[index.walletId])" ng-show="home.addr[index.walletId] || home.generatingAddress"> - <qrcode size="220" data="{{home.protocol}}...
12
diff --git a/karma.conf.js b/karma.conf.js @@ -88,58 +88,58 @@ module.exports = function (config) { files: [ './node_modules/phantomjs-polyfill/bind-polyfill.js', // 'dist/**/*.js', - 'build/mo.js', + 'dist/mo.js', 'spec/**/*.coffee', // 'spec/burst.coffee', // 'spec/shapes/*.js' ], // list of files to exclude exclude:...
3
diff --git a/articles/policies/rate-limits.md b/articles/policies/rate-limits.md @@ -180,113 +180,96 @@ The following Auth0 Management API endpoints return rate limit-related headers. The following Auth0 Authentication API endpoints return rate limit-related headers. -:::note -Rate limits are not yet enabled for all en...
0
diff --git a/modules/@apostrophecms/asset/index.js b/modules/@apostrophecms/asset/index.js @@ -647,7 +647,7 @@ module.exports = { function getComponentName(component, { enumerateImports } = {}, i) { return path .basename(component) - .replace('-', '_') + .replace(/-/g, '_') .replace(/\.\w+/, '') + (enumerateImports ? `...
14
diff --git a/packages/2018/src/tags.js b/packages/2018/src/tags.js export default { - topics: ["Transportation", "Disaster Resilience", "Housing", "Race"], - locations: ["Portland", "Oregon", "Nationwide", "Your City"], + topics: [ + "Transportation", + "Disaster Resilience", + "Housing", + "Race", + "Earthquake", + "H...
3
diff --git a/cluster_management/deployment_helpers/aws/elastic_beanstalk.py b/cluster_management/deployment_helpers/aws/elastic_beanstalk.py @@ -71,18 +71,35 @@ def construct_eb_environment_variables(eb_environment_name): def get_python27_platform_arn(): - """ gets the most recent platform arm for a python 2.7 elastic ...
9
diff --git a/assets/js/modules/tagmanager/setup.js b/assets/js/modules/tagmanager/setup.js @@ -64,7 +64,7 @@ class TagmanagerSetup extends Component { ampMode, isLoading: true, accounts: [], - containersWeb: [], + containers: [], containersAMP: [], errorCode: false, errorMsg: '', @@ -159,7 +159,7 @@ class TagmanagerSet...
10
diff --git a/lib/shared/addon/mixins/crud-catalog.js b/lib/shared/addon/mixins/crud-catalog.js @@ -131,7 +131,7 @@ export default Mixin.create({ const { externalIdInfo } = app; const currentVersion = get(this, 'apps.firstObject.externalIdInfo.version'); - if ( !templateVersion || !currentVersion || templateVersion === ...
2
diff --git a/spec/schema/core/option/optionalsProbability.json b/spec/schema/core/option/optionalsProbability.json [ { "description": "optionalsProbability option", - "tests": [ + "schemas": [ { - "description": "should handle optionalsProbability option (default = 0) for objects", - "schema": { "type": "object", "prop...
7
diff --git a/scenes/shadows.scn b/scenes/shadows.scn "start_url": "https://webaverse.github.io/mirror/", "dynamic": true }, - { - "position": [ - 0, - 0, - 0 - ], - "quaternion": [ - 0, - 0, - 0, - 1 - ], - "components": [ - { - "key": "line", - "value": [ - [92.5, 0, -33], - [19.5, -4, 59.5] - ] - }, - { - "key": "bou...
2
diff --git a/README.md b/README.md @@ -73,7 +73,7 @@ _Questions? [Contact us](https://support.branch.io/support/tickets/new)_ <!-- sample config.xml --> <widget id="com.eneff.branch.cordovatestbed" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <!-- Branch --> - <plug...
3
diff --git a/app/components/Settings/BackupFavorites.jsx b/app/components/Settings/BackupFavorites.jsx @@ -3,6 +3,7 @@ import React from "react"; import Translate from "react-translate-component"; import {connect} from "alt-react"; import SettingsStore from "stores/SettingsStore"; +import {Button} from "bitshares-ui-st...
14
diff --git a/Orchestrator/docs/BFOrchestratorUsage.md b/Orchestrator/docs/BFOrchestratorUsage.md @@ -162,7 +162,7 @@ See [Report Interpretation][6] for more. [8]:https://docs.microsoft.com/en-us/composer/concept-language-understanding "Language understanding" [9]:https://en.wikipedia.org/wiki/Training,_validation,_and_...
1
diff --git a/packages/frontend/src/components/profile/two_factor/TwoFactorAuth.js b/packages/frontend/src/components/profile/two_factor/TwoFactorAuth.js @@ -137,7 +137,7 @@ const TwoFactorAuth = ({ twoFactor, history, isBrickedAccount }) => { twoFactorKind={twoFactor.kind} /> )} - {!twoFactor && isBrickedAccount && sho...
1
diff --git a/components/frise.js b/components/frise.js @@ -7,9 +7,7 @@ const getSeasonColors = () => { const year = now.getFullYear() const winter = new Date(`${year}-12-21`) - const newYear = new Date(`${year + 1}-01-01`) const spring = new Date(`${year}-03-20`) - const nextYearSpring = new Date(`${year + 1}-03-20`) c...
7
diff --git a/http/_io_test.ts b/http/_io_test.ts @@ -364,10 +364,6 @@ Deno.test("writeResponse with trailer", async () => { }); const ret = new TextDecoder().decode(w.bytes()); const exp = [ - "HTTP/1.1 200 OK", - "transfer-encoding: chunked", - "trailer: deno,node", - "", "5", "Hello", "0", @@ -377,7 +373,7 @@ Deno.te...
1
diff --git a/metaverse_modules/sonic-boom/index.js b/metaverse_modules/sonic-boom/index.js @@ -120,6 +120,7 @@ export default () => { depthWrite: false, blending: THREE.AdditiveBlending, }); + material.freeze(); const material2 = new THREE.ShaderMaterial({ uniforms: { @@ -220,6 +221,7 @@ export default () => { depthWri...
0
diff --git a/src/apps.json b/src/apps.json "url": "/wcs/", "website": "http://ibm.com/software/genservers/commerceproductline" }, - "IBM WebSphere Portal": { + "HCL Digital Experience": { "cats": [ 1 ], "icon": "IBM.svg", "implies": "Java", "url": "/wps/", - "website": "http://ibm.com/software/websphere/portal" + "webs...
10
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js // @description Sticky post headers while you view each post (helps for long posts). Question ToC of Answers in sidebar. // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 2.11 +// @version 2.11.1 // //...
1
diff --git a/app/containers/App.js b/app/containers/App.js @@ -286,6 +286,7 @@ class App extends Component { const firstFile = store.getState().undoGroup.present.files.find((file) => file.id === fileId); store.dispatch(setCurrentFileId(firstFile.id)); this.updateScaleValue(); // so the aspect ratio of the thumbs are co...
12
diff --git a/storybook-utilities/icon-utilities/icon-name-util.js b/storybook-utilities/icon-utilities/icon-name-util.js @@ -23,10 +23,6 @@ const createIconExample = (name) => { svgElem.appendChild(useElem); svgElem.classList.add('sprk-c-Icon'); - if (name.includes('small')) { - svgElem.classList.add('sprk-c-Icon--s');...
3
diff --git a/spec/models/carto/user_spec.rb b/spec/models/carto/user_spec.rb @@ -56,15 +56,4 @@ describe Carto::User do end end end - - describe '#create api keys' do - before(:all) do - @carto_user = FactoryGirl.create(:carto_user) - end - - it 'has api_keys when new user is created' do - @carto_user.api_keys.should_n...
2
diff --git a/scripts/package.sh b/scripts/package.sh @@ -2,6 +2,9 @@ VERSION=$(jq -r ".version" package.json) PACKAGE=hydrogen-web-$VERSION.tar.gz yarn build pushd target +# move config file so we don't override it +# when deploying a new version +mv config.json config.sample.json tar -czvf ../$PACKAGE ./ popd echo $PA...
10
diff --git a/src/styles/codemirror.less b/src/styles/codemirror.less .CodeMirror-line { line-height: 22px !important; } + .CodeMirror-fullscreen { + position: fixed !important;; + top: 0; + left: 0; + right: 0; + bottom: 0; + height: auto; + width: 100% !important;; + z-index: 9; + } .CodeMirror-sizer { padding-top: 40...
1
diff --git a/test/tests/DeviceComponentTest.coffee b/test/tests/DeviceComponentTest.coffee @@ -158,15 +158,15 @@ describe "DeviceComponent", -> device.deviceType = key switch device.platform() when "iOS" - assert(_.startsWith(key, "iphone") or _.startsWith(key, "ipad") or _.startsWith(key, "apple-iphone") or _.startsWi...
7
diff --git a/token-metadata/0xdd974D5C2e2928deA5F71b9825b8b646686BD200/metadata.json b/token-metadata/0xdd974D5C2e2928deA5F71b9825b8b646686BD200/metadata.json "symbol": "KNC", "address": "0xdd974D5C2e2928deA5F71b9825b8b646686BD200", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/app/src/androidTest/java/com/github/mobile/tests/issue/IssueUriMatcherTest.java b/app/src/androidTest/java/com/github/mobile/tests/issue/IssueUriMatcherTest.java @@ -22,6 +22,7 @@ import android.net.Uri; import android.test.AndroidTestCase; import com.github.mobile.core.issue.IssueUriMatcher; +import com.g...
7
diff --git a/js/views/VariableSelect.js b/js/views/VariableSelect.js @@ -113,12 +113,21 @@ var matchDatasetFields = multi((datasets, dsID) => { return meta.type === 'genomicMatrix' && meta.probemap ? 'genomicMatrix-probemap' : meta.type; }); +// XXX The error handling here isn't great, because it can leave us with a +/...
9
diff --git a/packages/medusa/src/utils/format-registration-name.js b/packages/medusa/src/utils/format-registration-name.js @@ -13,6 +13,10 @@ function formatRegistrationName(fn) { const rawname = parsed.name let namespace = parsedDir.name + if (namespace.startsWith("__")) { + const parsedCoreDir = path.parse(parsedDir....
1
diff --git a/test/integration/plugins/virtuals.js b/test/integration/plugins/virtuals.js @@ -261,7 +261,8 @@ module.exports = function(bookshelf) { }); }); - it('virtuals are included in the `toJSON` result by default', function() { + describe('Model#toJSON()', function() { + it('includes virtuals by default', function...
5
diff --git a/generators/client/templates/angular/src/main/webapp/app/shared/auth/_user-route-access-service.ts b/generators/client/templates/angular/src/main/webapp/app/shared/auth/_user-route-access-service.ts @@ -16,6 +16,11 @@ export class UserRouteAccessService implements CanActivate { } canActivate(route: Activate...
11
diff --git a/bl-kernel/helpers/theme.class.php b/bl-kernel/helpers/theme.class.php @@ -206,7 +206,7 @@ class Theme { return $links; } - public static function javascript($files, $base=DOMAIN_THEME, $attributes="async") + public static function javascript($files, $base=DOMAIN_THEME, $attributes='') { if( !is_array($file...
2
diff --git a/base/tile_events/JumpEvent.ts b/base/tile_events/JumpEvent.ts @@ -180,9 +180,11 @@ export class JumpEvent extends TileEvent { /** * This function creates and destroys collision bodies arround jump events while the hero * walks over them. The collision bodies will be created only if the hero is going toward...
7
diff --git a/.codeclimate.yml b/.codeclimate.yml version: "2" checks: - similar-code: - enabled: true - config: - threshold: 3 - identical-code: - enabled: true - config: - threshold: 3 method-lines: enabled: true config:
2
diff --git a/script/ci/cloudbuild-pg12.yaml b/script/ci/cloudbuild-pg12.yaml @@ -63,7 +63,7 @@ steps: path: /root/.ssh - name: ubuntu - args: ['bash', '-c', 'rm -rf .git && cp ci-tools/repos/cartodb/* . && cp config/app_config.yml.sample config/app_config.yml && cp config/database.yml.sample config/database.yml && cp l...
3
diff --git a/src/pages/home/HomePage.js b/src/pages/home/HomePage.js @@ -13,7 +13,6 @@ import {withOnyx} from 'react-native-onyx'; import {Route} from '../../libs/Router'; import styles, {getSafeAreaPadding} from '../../styles/styles'; import variables from '../../styles/variables'; -import Header from './HeaderView'; ...
4
diff --git a/inventory.js b/inventory.js @@ -14,6 +14,7 @@ const _importMapUrl = u => new URL(u, location.protocol + '//' + location.host). const importMap = { three: _importMapUrl('./three.module.js'), app: _importMapUrl('./app-object.js'), + BufferGeometryUtils: _importMapUrl('./BufferGeometryUtils.js'), }; const _cl...
0
diff --git a/src/utils/http-browser.js b/src/utils/http-browser.js @@ -19,12 +19,17 @@ export async function http ({ res.body && res.body.getReader ? fromStream(res.body) : [new Uint8Array(await res.arrayBuffer())] + // convert Header object to ordinary JSON + headers = {} + for (let [key, value] of res.headers.entries...
1
diff --git a/src/components/mapexplorer.js b/src/components/mapexplorer.js @@ -353,7 +353,7 @@ function MapExplorer({ setHoveredRegion(regionHighlighted.district, newMap); setSelectedRegion(regionHighlighted.district); } - }, [regionHighlighted, currentMap.mapType, setHoveredRegion]); + }, [regionHighlighted, setHovere...
1
diff --git a/test/saucelabs.js b/test/saucelabs.js @@ -8,17 +8,17 @@ var platforms = [{ version: '59.0' }, { browserName: 'firefox', - platform: 'OS X 10.11', + platform: 'OS X 10.13', version: '59.0' }, { browserName: 'googlechrome', platform: 'Windows 10' }, { browserName: 'googlechrome', - platform: 'OS X 10.11' + p...
4
diff --git a/assets/js/modules/analytics/components/setup/SetupFormGA4Transitional.js b/assets/js/modules/analytics/components/setup/SetupFormGA4Transitional.js * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { Fragment, useEffect } from '@wordpress/element'; +import { Fragment } from '@wordpr...
4
diff --git a/dapp/src/utils/math.js b/dapp/src/utils/math.js export function formatCurrency(value, decimals) { return formatCurrencyMinMaxDecimals(value, { - minDecimals: decimals || 2, - maxDecimals: decimals || 5, + minDecimals: typeof decimals === 'number' ? decimals : 2, + maxDecimals: typeof decimals === 'number' ...
9
diff --git a/contracts/governance/Vesting/TeamVesting.sol b/contracts/governance/Vesting/TeamVesting.sol @@ -39,6 +39,7 @@ contract TeamVesting is VestingStorage, Proxy { require(_feeSharingProxy != address(0), "feeSharingProxy address invalid"); _setImplementation(_logic); + _setProxyOwner(address(0)); SOV = IERC20(_S...
12
diff --git a/token-metadata/0xAF0336137c2f68E881cEa7d95059E6B2ddCf7E57/metadata.json b/token-metadata/0xAF0336137c2f68E881cEa7d95059E6B2ddCf7E57/metadata.json "symbol": "PDC", "address": "0xAF0336137c2f68E881cEa7d95059E6B2ddCf7E57", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/.travis.yml b/.travis.yml +# In Travis extablish the following environment variables +# DEPLOY_TOKEN +# GITHUB_REPO +# EMAIL +# USERNAME + language: ruby rvm: - 2.3.1 @@ -10,14 +16,12 @@ before_script: - chmod +x ./script/cibuild - chmod +x ./script/gh_pages_push -script: - - ./script/cibuild +script: ./sc...
3
diff --git a/src/collections/events/kubecon2021-na-smp/index.mdx b/src/collections/events/kubecon2021-na-smp/index.mdx @@ -6,7 +6,7 @@ eurl: https://kccncna2021.sched.com/event/oXzX/project-office-hours-service-mesh topic: event published: true upcoming: true -speakers: ["Lee Calcote", "Sunku Ranganath", "Otto Van Der ...
1
diff --git a/source/io.js b/source/io.js @@ -2,4 +2,5 @@ export { EventSource, CONNECTING, OPEN, CLOSED } from './io/EventSource.js'; export { HttpRequest } from './io/HttpRequest.js'; export { IOQueue } from './io/IOQueue.js'; export { XHR } from './io/XHR.js'; +export { defangFilename } from './io/defangFilename.js';...
0
diff --git a/src/renderable/imagelayer.js b/src/renderable/imagelayer.js preDraw : function (renderer) { // save the context renderer.save(); + // apply the defined alpha value + renderer.setGlobalAlpha(renderer.globalAlpha() * this.getOpacity()); }, /**
1
diff --git a/package.json b/package.json "web:inject-disc": "node ./bin/disc.js", "web:inject-frontpagecodesample": "npm run web:generate && cp -f website/public/frontpage-code-sample.html website/themes/uppy/layout/partials/frontpage-code-sample.html && touch website/themes/uppy/layout/index.ejs", "web:install": "cd w...
0
diff --git a/test/jasmine/bundle_tests/plotschema_test.js b/test/jasmine/bundle_tests/plotschema_test.js @@ -14,6 +14,7 @@ var gl3dAttrs = require('@src/plots/gl3d').layoutAttributes; var polarLayoutAttrs = require('@src/plots/polar/legacy/axis_attributes'); var annotationAttrs = require('@src/components/annotations')....
3
diff --git a/src/formio.js b/src/formio.js @@ -29,7 +29,7 @@ export class Formio { this.isFormOnly = options.formOnly; } else if (Formio.formOnly) { - this.isFormOnly = !!Formio.formOnly; + this.isFormOnly = Formio.formOnly; } else { this.isFormOnly = false; @@ -618,7 +618,7 @@ export class Formio { } static setFormOnl...
12
diff --git a/mods/ctl/src/commands/auth/login.ts b/mods/ctl/src/commands/auth/login.ts @@ -33,6 +33,7 @@ export default class extends Command { { name: 'accessKeySecret', message: 'access key token', + mask: true, type: 'password' }, {
7
diff --git a/README.md b/README.md # TypeOfNaN JavaScript Quizzes +![TypeOfNaN Logo javascript quizzes](typeOfNaN-logo.jpg) + Learn JavaScript fundamentals through fun and challenging quizzes! View the app online here: [https://quiz.typeofnan.dev](https://quiz.typeofnan.dev) +# How to run the app locally + +In order to...
0
diff --git a/util/utility.js b/util/utility.js @@ -21,17 +21,27 @@ function removeDashes(i) { } /** - * Converts minigame's ID to standard name e.g. GingerBread => TKR + * Converts minigames ID to standard name e.g. GingerBread => TKR */ -function IDToStandardName(name) { - return constants.game_types.find(game => game...
7
diff --git a/protocols/index/contracts/Index.sol b/protocols/index/contracts/Index.sol @@ -31,7 +31,7 @@ contract Index is Ownable { address private constant HEAD = address(uint160(2**160-1)); // Mapping of user address to its neighbors - mapping(address => Entry) private listEntry; + mapping(address => Entry) private ...
10
diff --git a/packages/analytics-plugin-custify/src/browser.js b/packages/analytics-plugin-custify/src/browser.js @@ -25,15 +25,15 @@ function custifyPlugin(pluginConfig = {}) { }, }, initialize: ({ config }) => { - const { accountId, skipScriptInclude, options } = config + const { accountId, scriptInclude, options } = ...
10
diff --git a/src/commands/Ondemand/WhereIs.js b/src/commands/Ondemand/WhereIs.js @@ -75,16 +75,6 @@ class Whereis extends Command { const results = data .filter(entry => entry.item.toLowerCase().indexOf(query.toLowerCase()) > -1) .sort(itemSort); - results.forEach((result) => { - result.place = result.place.replace('De...
2
diff --git a/pic.js b/pic.js @@ -38,7 +38,7 @@ const _makeRenderer = (width, height) => { renderer.setClearColor(0xff0000, 1); const scene = new THREE.Scene(); - // scene.autoUpdate = false; + scene.autoUpdate = false; const camera = new THREE.PerspectiveCamera(60, width/height, 0.1, 100);
0
diff --git a/js/containers/addWizardColumns.js b/js/containers/addWizardColumns.js @@ -42,7 +42,7 @@ function getValueType(dataset, features, fields) { function getFieldType(dataset, features, fields, probes) { if (dataset.type === 'mutationVector') { - return 'mutation'; + return dataset.dataSubType.search(/SV|structu...
9
diff --git a/weapons-manager.js b/weapons-manager.js @@ -36,6 +36,7 @@ const localMatrix3 = new THREE.Matrix4(); const localColor = new THREE.Color(); const localRaycaster = new THREE.Raycaster(); const localRaycaster2 = new THREE.Raycaster(); +const localBox = new THREE.Box3(); const zeroVector = new THREE.Vector3(); ...
0
diff --git a/src/mode/sla/slice.js b/src/mode/sla/slice.js polys.appendAll(slice.tops.map(t => t.poly.clone())); }); // p.clone prevents inner voids from forming - let union = POLY.union(polys).map(p => p.clone()); + let union = POLY.union(polys, undefined, true).map(p => p.clone()); let expand = POLY.expand(union, off...
3
diff --git a/js/reveal.js b/js/reveal.js delete element.dataset.autoAnimateTarget; } ); - var animationOptions = getAutoAnimateOptions( toSlide ); + var animationOptions = getAutoAnimateOptions( toSlide, { // If our slides are centered vertically, we need to // account for their difference in position when // calculati...
11
diff --git a/guide/english/network-engineering/ipv4-header/index.md b/guide/english/network-engineering/ipv4-header/index.md @@ -3,13 +3,59 @@ title: IPv4 Header --- ## IPv4 Header Format -This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/network-engineering/ipv4-header/index.md' tar...
14
diff --git a/_data/conferences.yml b/_data/conferences.yml date: June 19-25, 2021 place: Nashville, USA sub: CV - note: <b>Deadline timezone yet to be confirmed.</b> + note: <b>NOTE</b>: Deadline timezone yet to be confirmed. - title: AES hindex: 19
3
diff --git a/src/compiler/nodes.imba1 b/src/compiler/nodes.imba1 @@ -3071,10 +3071,10 @@ export class MethodDeclaration < Func var closure = @context = scope.parent.closure if closure isa RootScope and !target - scope.@selfless = yes + scope.@context = closure.context elif closure isa MethodScope and !target - scope:co...
7
diff --git a/vite.config.js b/vite.config.js @@ -16,7 +16,13 @@ export default defineConfig(({mode}) => { sourcemap: true, }, plugins: [ - themeBuilder({manifestLocations: ["./src/platform/web/ui/css/themes/element"], compiledVariables}), + themeBuilder({ + themeConfig: { + themes: {"element": "./src/platform/web/ui/cs...
4
diff --git a/src/components/modeler/Modeler.vue b/src/components/modeler/Modeler.vue @@ -609,7 +609,7 @@ export default { this.removeUnsupportedElementAttributes(definition); const type = parser(definition, this.moddle); - const unnamedElements = ['bpmn:TextAnnotation', 'bpmn:Association', 'bpmn:DataOutputAssociation']...
2
diff --git a/src/application/Application.mjs b/src/application/Application.mjs @@ -67,6 +67,8 @@ export default class Application extends Component { this.stage.platform.registerScrollWheelHandler((e) => { this._recieveScrollWheel(e); }); + + this.cursor = 'default'; } } @@ -522,6 +524,9 @@ export default class Applica...
0