Track abstract goals for Jasmine 2.0
This commit is contained in:
9
GOALS_2.0.md
Normal file
9
GOALS_2.0.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Jasmine 2.0 Goals
|
||||
|
||||
1. No globals!
|
||||
* jasmine library is entirely inside `jasmine` namespace
|
||||
* globals required for backwards compatibility should be added in `boot.js` (EG, var describe = jasmine.getCurrentEnv().describe lives in boot.js)
|
||||
1. Don't use properties as getters. Use methods.
|
||||
* Properties aren't encapsulated -- can be mutated, unsafe.
|
||||
* easier to refactor as needed
|
||||
|
||||
Reference in New Issue
Block a user