Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Options#cutOptions

#86

For the cases when a constructor or a method might take various number arguments with the options at the end, this method will cut off the options feed to the #setOptions method and return the list of arguments without the options

cutOptions(args) {
var args = $A(args); if (isHash(args)) this.setOptions(args.pop());

return args; }

myMethod: function() {
var args = this.cutOptions(arguments);

..... }

Reported by MadRabbit · September 25th, 2009 @ 03:00 PM

State: resolved
Milestone: 1.5.0 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • Milestone set to 1.5.0 Release

    [milestone:id#53558 bulk edit command]

    October 21st, 2009 @ 01:59 PM

  2. MadRabbit
    MadRabbit
    • State changed from new to resolved

    November 20th, 2009 @ 09:05 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.