Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inheritClass: Implement inherited 'static' property for classes.
Previously tests for inheritClass (and other object management utilities) were absent (as they were copied from upstream K-js). I've copied the upstream test suite for this method here and extended it with tests for this new feature. Had to add es5:true to .jshintrc due to a bug in JSHint. Repeated the setting in ve.inheritClass for future reference. Source: https://github.com/Krinkle/K-js/blob/master/test/K.test.js Change-Id: I63ac620d6ce7832ebfee454ddf7b7c90f6eb6121
- Loading branch information
Showing
3 changed files
with
146 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters