Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scratch-blocks

Package Overview
Dependencies
Maintainers
1
Versions
1422
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scratch-blocks - npm Package Compare versions

Comparing version 0.1.0-prerelease.1475498629 to 0.1.0-prerelease.1475500141

19

core/block_render_svg_vertical.js

@@ -288,3 +288,3 @@ /**

*/
Blockly.BlockSvg.INPUT_SHAPE_SQUARE_WIDTH = 9 * Blockly.BlockSvg.GRID_UNIT;
Blockly.BlockSvg.INPUT_SHAPE_SQUARE_WIDTH = 10 * Blockly.BlockSvg.GRID_UNIT;

@@ -310,3 +310,3 @@ /**

*/
Blockly.BlockSvg.INPUT_SHAPE_ROUND_WIDTH = 10 * Blockly.BlockSvg.GRID_UNIT;
Blockly.BlockSvg.INPUT_SHAPE_ROUND_WIDTH = 12 * Blockly.BlockSvg.GRID_UNIT;

@@ -578,3 +578,3 @@ /**

this.renderDraw_(cursorX, inputRows);
this.renderClassify_();

@@ -707,4 +707,5 @@

// The width is currently only needed for inline value inputs.
if (input.type == Blockly.INPUT_VALUE) {
// Empty input shape widths.
if (input.type == Blockly.INPUT_VALUE &&
(!input.connection || !input.connection.isConnected())) {
switch (input.connection.getOutputShape()) {

@@ -989,3 +990,3 @@ case Blockly.OUTPUT_SHAPE_SQUARE:

var shapes = [];
if (this.outputConnection) {

@@ -1011,3 +1012,3 @@ if (this.isShadow_) {

}
if (statementCount) {

@@ -1026,5 +1027,5 @@ shapes.push('c-block');

}
this.svgGroup_.setAttribute('data-shapes', shapes.join(' '));
if (this.getCategory()) {

@@ -1031,0 +1032,0 @@ this.svgGroup_.setAttribute('data-category', this.getCategory());

@@ -648,3 +648,3 @@ /**

Blockly.Connection.prototype.getOutputShape = function() {
if (!this.check_) return Blockly.OUTPUT_SHAPE_SQUARE;
if (!this.check_) return Blockly.OUTPUT_SHAPE_ROUND;
if (this.check_.indexOf('Boolean') !== -1) {

@@ -659,3 +659,3 @@ return Blockly.OUTPUT_SHAPE_HEXAGONAL;

}
return Blockly.OUTPUT_SHAPE_SQUARE;
return Blockly.OUTPUT_SHAPE_ROUND;
};

@@ -662,0 +662,0 @@

{
"@metadata": {
"author": "Ellen Spertus <ellen.spertus@gmail.com>",
"lastupdated": "2016-10-03 12:42:59.272658",
"lastupdated": "2016-10-03 13:07:53.490823",
"locale": "en",

@@ -6,0 +6,0 @@ "messagedocumentation" : "qqq"

{
"name": "scratch-blocks",
"version": "0.1.0-prerelease.1475498629",
"version": "0.1.0-prerelease.1475500141",
"description": "Scratch Blocks is a library for building creative computing interfaces.",

@@ -11,3 +11,3 @@ "author": "Massachusetts Institute of Technology",

"url": "https://github.com/LLK/scratch-blocks.git",
"sha": "2f03a21f2f63ab01224f462708a8f75009c0bb59"
"sha": "d9b0dcfc6d6f5c4c88b0ab7cb92fa192e3a8aed3"
},

@@ -14,0 +14,0 @@ "main": "./dist/vertical.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc