-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '14611a8659a34376060c98aa94c1410def8e17c6' into merge-0.…
…20.0
- Loading branch information
Showing
139 changed files
with
11,485 additions
and
11,955 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
do ($, _) -> | ||
$ = require("jquery") | ||
|
||
$.expr.cacheLength = 1 | ||
$.expr.cacheLength = 1 | ||
|
||
$.ajaxSetup | ||
cache: false | ||
$.ajaxSetup | ||
cache: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
_ = require("lodash") | ||
|
||
inflection = require("underscore.inflection")(_) | ||
|
||
## only export exactly what we need, nothing more! | ||
_.mixin({ | ||
clean: require("underscore.string/clean") | ||
count: require("underscore.string/count") | ||
isBlank: require("underscore.string/isBlank") | ||
toBoolean: require("underscore.string/toBoolean") | ||
capitalize: require("underscore.string/capitalize") ## its mo' better the lodash version | ||
ordinalize: inflection.ordinalize | ||
}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
moment.locale('en', { | ||
relativeTime : { | ||
future: "in %s", | ||
past: "%s ago", | ||
s: "s", | ||
m: "1m", | ||
mm: "%dm", | ||
h: "1h", | ||
hh: "%dh", | ||
d: "1d", | ||
dd: "%dd", | ||
M: "1mo", | ||
MM: "%dmo", | ||
y: "1y", | ||
yy: "%dy" | ||
} | ||
}); | ||
moment = require("moment") | ||
|
||
moment.locale("en", { | ||
relativeTime: { | ||
future: "in %s", | ||
past: "%s ago", | ||
s: "s", | ||
m: "1m", | ||
mm: "%dm", | ||
h: "1h", | ||
hh: "%dh", | ||
d: "1d", | ||
dd: "%dd", | ||
M: "1mo", | ||
MM: "%dmo", | ||
y: "1y", | ||
yy: "%dy" | ||
} | ||
}) |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
do (Cypress, _) -> | ||
|
||
Cypress.addParentCommand | ||
Commands.addAll({ | ||
|
||
## allow the user to choose whether the confirmation | ||
## message returns true or false. need to patch | ||
## window.confirm and store the last confirm message | ||
## so we can async respond to it? | ||
confirm: (bool = true) -> | ||
confirm: (bool = true) -> | ||
}) |
Oops, something went wrong.