mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00: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/
|
||||
public/javascripts/
|
||||
spec/phantom_js/smoke_test.js
|
||||
test/javascripts/helpers/assertions.js
|
||||
test/javascripts/test_helper.js
|
||||
vendor/
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* exported exists, count, present, blank, containsInstance, not */
|
||||
// Test helpers
|
||||
function exists(selector) {
|
||||
return !!count(selector);
|
||||
|
Loading…
x
Reference in New Issue
Block a user