Browse Source

Fix alphabetization;

bjorn 10 years ago
parent
commit
26056b25d7
1 changed files with 6 additions and 6 deletions
  1. 6 6
      rx.lua

+ 6 - 6
rx.lua

@@ -452,12 +452,6 @@ function Observable:max()
   return self:reduce(math.max)
 end
 
---- Returns a new Observable that produces the minimum value produced by the original.
--- @returns {Observable}
-function Observable:min()
-  return self:reduce(math.min)
-end
-
 --- Returns a new Observable that produces the values produced by all the specified Observables in
 -- the order they are produced.
 -- @arg {Observable...} sources - One or more Observables to merge.
@@ -491,6 +485,12 @@ function Observable:merge(...)
   end)
 end
 
+--- Returns a new Observable that produces the minimum value produced by the original.
+-- @returns {Observable}
+function Observable:min()
+  return self:reduce(math.min)
+end
+
 --- Returns an Observable that produces the values of the original inside tables.
 -- @returns {Observable}
 function Observable:pack()