mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 17:37:53 +08:00
JSHint assertions.js
Mark all functions as exported
This commit is contained in:
parent
054eca840a
commit
86a9e0db6a
@ -8,6 +8,5 @@ lib/javascripts/moment.js
|
|||||||
lib/javascripts/moment_locale/
|
lib/javascripts/moment_locale/
|
||||||
public/javascripts/
|
public/javascripts/
|
||||||
spec/phantom_js/smoke_test.js
|
spec/phantom_js/smoke_test.js
|
||||||
test/javascripts/helpers/assertions.js
|
|
||||||
test/javascripts/test_helper.js
|
test/javascripts/test_helper.js
|
||||||
vendor/
|
vendor/
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* exported exists, count, present, blank, containsInstance, not */
|
||||||
// Test helpers
|
// Test helpers
|
||||||
function exists(selector) {
|
function exists(selector) {
|
||||||
return !!count(selector);
|
return !!count(selector);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user