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

ember-blockly

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-blockly - npm Package Compare versions

Comparing version 0.1.39 to 0.1.40

18

addon/components/ember-blockly.js

@@ -148,12 +148,12 @@ import Ember from 'ember';

workspace.addChangeListener(() => {
var _this = this;
Ember.run(function () {
Ember.run(() => {
if (this.get('disableNotConnectedToMainBlock')) {
workspace.addChangeListener(Blockly.Events.disableOrphans);
}
});
if (_this.get('disableNotConnectedToMainBlock')) {
workspace.addChangeListener(Blockly.Events.disableOrphans);
}
_this.onUpdate();
_this._onresize();
Ember.run(() => {
workspace.addChangeListener(() => {
this.onUpdate();
this._onresize();
});

@@ -160,0 +160,0 @@ });

@@ -6,4 +6,2 @@ import Ember from 'ember';

createCustomBlock(name, options, callback_to_change_block) {
let previousStatement = true;
let nextStatement = true;
options.colour = options.color || '#4453ff';

@@ -42,3 +40,3 @@

var variable_object = Blockly.MyLanguage.valueToCode(block, variable_name) || block.getFieldValue(variable_name) || null;
var variable_object = Blockly.JavaScript.statementToCode(block, variable_name) || Blockly.MyLanguage.valueToCode(block, variable_name) || block.getFieldValue(variable_name) || null;

@@ -139,3 +137,7 @@ code = code.replace(regex, variable_object);

return Blockly.Blocks[new_name];
},
setStartHat(state) {
Blockly.BlockSvg.START_HAT = state;
}
});
{
"name": "ember-blockly",
"version": "0.1.39",
"version": "0.1.40",
"description": "The default blueprint for ember-cli addons.",

@@ -5,0 +5,0 @@ "directories": {

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