Skip to content

Commit

Permalink
Merge commit '14611a8659a34376060c98aa94c1410def8e17c6' into merge-0.…
Browse files Browse the repository at this point in the history
…20.0
  • Loading branch information
chrisbreiding committed Apr 21, 2017
2 parents d06f233 + 14611a8 commit 66cfc6f
Show file tree
Hide file tree
Showing 139 changed files with 11,485 additions and 11,955 deletions.
8 changes: 4 additions & 4 deletions packages/app/app/js/config/jquery.coffee
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
13 changes: 13 additions & 0 deletions packages/app/app/js/config/lodash.coffee
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
})
36 changes: 19 additions & 17 deletions packages/app/app/js/config/moment.coffee
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"
}
})
3 changes: 0 additions & 3 deletions packages/app/app/js/config/underscore.coffee

This file was deleted.

5 changes: 3 additions & 2 deletions packages/app/app/js/driver/commands_old/confirm.coffee
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) ->
})
Loading

0 comments on commit 66cfc6f

Please sign in to comment.