Open mcanepa opened 3 years ago
This is the test file...
BaseObject.Some.Path.ToClass = {}
BaseObject.Some.Path.ALLCAPS = {}
BaseObject.Some.Path.ToClass = class extends SomeParentClass
{
constructor(parameter)
{
super();
this.param = parameter;
var my_var = true;
if($(parameter).hasClass("my_class"))
{
$("some_selector").data("my_data", 123);
my_var = !my_var;
}
}
}
class MyClass extends BaseObject.Some.Path.ToClass
{
constructor()
{
super("div");
}
}
var objInstance = new MyClass();
ALLCAPS
redish
Caps having a different color improves readability for constants & environment variables. Personally, I think that's an improvement over Atom's original style and something that should stay (and possibly be changed in Atom) even though it is inconsistent with Atom.
One one hand, there are differences between this theme and Atoms' but there also differences between the theme itself
Here's a sample image...
I think that:
BaseObject
shoud be yellowishALLCAPS
redishBaseObjectSome.Path.ToClass
in line 23 redish as the declaration (except BaseObject that should be yellowish)constructor()
andsuper()
should be that two shades of blueish