Skip to content

Commit

Permalink
Merge branch 'deserializer' of https://github.com/maheeka/ballerina i…
Browse files Browse the repository at this point in the history
…nto deserializer
  • Loading branch information
maheeka committed Jan 12, 2017
2 parents 69fbac1 + 28d305d commit c32dd6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/editor/web/js/ballerina/ast/ballerina-ast-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,11 @@ define(['./ballerina-ast-root', './service-definition', './function-definition',

BallerinaASTFactory.createFromJson = function (jsonNode) {
var node;
console.log("type:" + jsonNode.type);
var nodeType = jsonNode.type;

if (_.isUndefined(jsonNode.type)) {
var statement = jsonNode.statement;
node = BallerinaASTFactory.createAssignmentStatement();
console.log("statement:" + statement);
} else {
switch (nodeType) {
case 'package':
Expand Down

0 comments on commit c32dd6a

Please sign in to comment.