PlatformInterface ajax: #{
'beforeSend' -> [ :jqXHR | jqXHR setRequest: 'xxxxx' with: 'yyyyy' ]
}
Александр Р wrote:
> Hello! How can I write a parameter *beforeSend* in the Amber?
>
> /for example js: beforeSend: function (jqXHR) {
> jqXHR.setRequestHeader("xxxxx", "yyyyy");},/
>
> --
> You received this message because you are subscribed to the Google
> Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
[hidden email]
> <mailto:
[hidden email]>.
> For more options, visit
https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/d/optout.