Files
blockly/core/serialization/serialization.js
Beka Westberg ceeda333dc Add serialization of basic block attributes to JSOs (#5053)
* Add basic attribute tests

* Add basic block serialization

* Add more attribute tests

* Change save to use options dictionary

* Add obeying save options

* Add test for data attribute

* Add saving data tag

* Move to ES6 syntax

* Fixup move to es6 syntax

* Declare module

* Format and lint

* Add docs

* Add returning null on insertion markers

* Fixup for move to module

* Switch to other function declarations

* Cleanup for finalized style

* Fix lint and types

* Export State def

* Switch disabled=true to enabled=false
2021-09-20 13:08:35 -07:00

19 lines
407 B
JavaScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Contains top-level functions for serialization of the workspace
* to JavaScript objects.
*/
'use strict';
/**
* The top level namespace for JavaScript Object serialization.
* @namespace Blockly.serialization
*/
goog.module('Blockly.serialization');
goog.module.declareLegacyNamespace();