# To install gjslint, see:
#
# <http://code.google.com/closure/utilities/docs/linter_howto.html>
-SRC_DIRS := . src utils web test examples/helloworld extensions/firefox \
- extensions/firefox/components extensions/chrome
+SRC_DIRS := . src utils web test test/unit examples/helloworld \
+ extensions/firefox extensions/firefox/components extensions/chrome
GJSLINT_FILES = $(foreach DIR,$(SRC_DIRS),$(wildcard $(DIR)/*.js))
lint:
gjslint --nojsdoc $(GJSLINT_FILES)
'use strict';
-describe("obj", function() {
+describe('obj', function() {
- describe("Name", function() {
- it("should retain the given name", function() {
- var givenName = "Font";
+ describe('Name', function() {
+ it('should retain the given name', function() {
+ var givenName = 'Font';
var name = new Name(givenName);
expect(name.name).toEqual(givenName);
});