Skip to content

Commit

Permalink
build(demo): Minimize goog.require in demo_uncompiled.js (#4111)
Browse files Browse the repository at this point in the history
Rather than require everything, require only the top-level classes for
the demo, and let them require their dependencies.  This is consistent
with how this works in the library itself.

Related to issue #4094
  • Loading branch information
joeyparrish committed Apr 11, 2022
1 parent e6a8094 commit 044375b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions demo/demo_uncompiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

goog.require('shakaDemo.AssetCard');
goog.require('shakaDemo.CloseButton');
goog.require('shakaDemo.Config');
goog.require('shakaDemo.Custom');
goog.require('shakaDemo.Utils');
goog.require('shakaDemo.Front');
goog.require('shakaDemo.BoolInput');
goog.require('shakaDemo.DatalistInput');
goog.require('shakaDemo.Input');
goog.require('shakaDemo.MessageIds');
goog.require('shakaDemo.NumberInput');
goog.require('shakaDemo.SelectInput');
goog.require('shakaDemo.TextInput');
goog.require('shakaDemo.InputContainer');
goog.require('shakaDemo.Main');
goog.require('shakaDemo.Search');
goog.require('shakaDemo.Tooltips');
goog.require('shakaDemo.Main');

0 comments on commit 044375b

Please sign in to comment.