Skip to content

Changelog for PR #1468

Shubhankar Sharma edited this page Jun 7, 2020 · 3 revisions

Changelog

[Ureleased]

[stories/webpack_setup] - Jun 7 2020

Added

  • embedListeners are imported with listeners and startListeners function is called based on if variable embed is true or false.
  • Provideplugin for jQuery in webpack/environtment.js
  • baseSetup() memeber function to CircuitElement for adding a element to scopeList.
  • Documentaion for most of the major classes and their member functions.
  • i18n-js in gemfile for webpack-dev-server
  • added jsdocs, nodemon and livereload as a dependency (should be dev-dep) for making script for jsdocs.
  • 4 scripts build:docs , watch:doc-src, watch:doc-output and watch:docs in package.json to develop documentation with live reload.

Changed

  • directly adding the element to the scopeList is change to a call to baseSetup in CircuitElement constructor to remove dependence on this.constructor.name which caused problems while minification.
  • moved all object literals from logix.js to standalone files
  • changed all es5 classes to es6 classes.
  • moved Scope class to circuit.js.
  • moved every other class to class-name.js.
  • window was used to call constructors for all modules but now moudules can be used and can be imported as default from modules.js
  • All the functions of class logixButton are mapped to logixFunction and can be imported from data.js.
  • All the functions of class objectProperty are mapped to circuitProperty and can be imported from circuit.js.
  • Global variables changed to private variables of their relatable module and can be read and written using mutator design pattern (get and set functions).
  • listen moved from a dev-dependency to dependency because it is required for webpack:compile while presets:precompile.
  • changes with spacing and variable decleration for fixing eslint issue and es6 errors.
  • some for loop syntax from eslint restricted for-in syntax to Object.keys(...).forEach(..) syntax.

Fixed

  • close tab option of all tabs closed current tab #1464.
Clone this wiki locally