Comments (2)
Perhaps you meant to treat DecompositionEquation as an inner type, and the object literal that you're returning as a factory. If that's the case, then rename the file to DecompositionEquationFactory, and prefix each method with 'create' (typical of factory methods). Call sites would then look like this:
var DecompositionEquationFactory = require( 'common/model/DecompositionEquationFactory' );
//...
var equation = DecompositionEquationFactory.create_2H2O_2H2_O2();
Which approach you take depends on whether you want type DecompositionEquation to be publicly visible.
from balancing-chemical-equations.
Verified, closing.
from balancing-chemical-equations.
Related Issues (20)
- fix screenshot HOT 5
- Memory Leak HOT 11
- Boxes can be collapsed behind dialog HOT 4
- Moving timer when stringTest=double HOT 7
- use Dialog HOT 12
- Smile covers tools when strings are doubled HOT 5
- AccordionBox title bars have a cursor but are not clickable when closed HOT 5
- Add ion-electron method on game mode? HOT 3
- Usability on small screens review
- does Equation needs a dispose method? HOT 2
- use Enumeration HOT 1
- convert model.txt and implementation-notes.txt to .md HOT 1
- Handle overridden Node.setEnabled method HOT 4
- Add support for ?showAnswers HOT 1
- hasBigMolecule always returns false HOT 4
- Decide whether to turn off UI sounds on next publication
- User reported issue: student who is color blind cannot differentiate atoms/molecules. HOT 3
- Consider converting to default layoutBounds before PhET-iO publication HOT 3
- Change title of "Introduction" screen to "Intro" HOT 3
- Add gameLevels query parameter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balancing-chemical-equations.