Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kemsky committed Oct 20, 2015
1 parent 8b9f44c commit faa0825
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 43 deletions.
4 changes: 2 additions & 2 deletions src/com/kemsky/$.as
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.kemsky
{
import com.kemsky.support.Flex;
import mx.collections.IList;

/**
* Global function that creates Stream objects
Expand Down Expand Up @@ -44,7 +44,7 @@ package com.kemsky
}
return new Stream(a);
}
else if (Flex.available && arg is Flex.list)
else if (arg is IList)
{
//$ from list
return new Stream(arg.toArray());
Expand Down
5 changes: 3 additions & 2 deletions src/com/kemsky/Stream.as
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ package com.kemsky

import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
import mx.collections.IList;

use namespace stream_internal;

Expand Down Expand Up @@ -895,7 +896,7 @@ package com.kemsky
{
result = item;
}
else if(Flex.available && item is Flex.list)
else if(item is IList)
{
result = item.toArray();
}
Expand Down Expand Up @@ -1164,7 +1165,7 @@ package com.kemsky
{
result = result.concat.apply(null, item);
}
else if(Flex.available && item is Flex.list)
else if(item is IList)
{
result = result.concat.apply(null, item.toArray());
}
Expand Down
39 changes: 0 additions & 39 deletions src/com/kemsky/support/Flex.as

This file was deleted.

0 comments on commit faa0825

Please sign in to comment.