These are chat archives for mojotech/pioneer

28th
Jul 2014
Sam Saccone
@samccone
Jul 28 2014 17:51
new room
better name
Josh
@joshtombs
Jul 28 2014 17:55
did we just change dill ?!
it will forever be known as dill in my heart
@When /^I click on the "([^"]*)" child of "([^"]*)" I should read "([^"]*)"$/, (index, rootSelector, expected) ->
    new @widgets.List({
        root: rootSelector
    })
    .at(index - 1).then (item) ->
      item.click()
    new @Widget({
      root: '#onSubmit'
    })
    .read().should.eventually.eql(expected)
shouldnt that work?
<div id="onSubmit">foo</div>
    <script type="text/javascript">
      $('.clickable').click(function(){
        document.getElementById('onSubmit').innerHTML = 'clicked'
      })
    </script>
Sam Saccone
@samccone
Jul 28 2014 17:58
yup pioneer now
Josh
@joshtombs
Jul 28 2014 17:59
is it because theyre asynchronous?
and the widget is being read before the first one's clicked
Sam Saccone
@samccone
Jul 28 2014 17:59
yep
you are going to have to then it
Josh
@joshtombs
Jul 28 2014 17:59
and use _this ?
because i cant make a new @widget
Sam Saccone
@samccone
Jul 28 2014 18:00
new @widgets.List({
    root: rootSelector
})
.at(index - 1).then((item) ->
  item.click()
).then =>
  new @Widget({
    root: '#onSubmit'
  })
  .read().should.eventually.eql(expected)
like this

testpro

Josh
@joshtombs
Jul 28 2014 18:01
still cant call new @widget
undefined is not a function
i want this to be outside of the first widget
Sam Saccone
@samccone
Jul 28 2014 18:01
k
put _this = this;
Josh
@joshtombs
Jul 28 2014 18:18
mojotech/pioneer#116
fixed

pioneer > dill

Sam Saccone
@samccone
Jul 28 2014 18:19
:)
Josh
@joshtombs
Jul 28 2014 18:20
what do you have to do to get a real command name?
Sam Saccone
@samccone
Jul 28 2014 18:20
?
Josh
@joshtombs
Jul 28 2014 18:20
like pioneer
Sam Saccone
@samccone
Jul 28 2014 18:20
whatcha mean
Josh
@joshtombs
Jul 28 2014 18:20
instead of ./bin/dill
Sam Saccone
@samccone
Jul 28 2014 18:20
npm install -g pioneer
Josh
@joshtombs
Jul 28 2014 18:20
and then u can call pioneer?
Sam Saccone
@samccone
Jul 28 2014 18:21
yep
Josh
@joshtombs
Jul 28 2014 18:21

dope

Sam Saccone
@samccone
Jul 28 2014 18:21
dope
Josh
@joshtombs
Jul 28 2014 18:21
Cant wait to get on the NPM status
Sam Saccone
@samccone
Jul 28 2014 18:21
hahah
Josh
@joshtombs
Jul 28 2014 18:21

Fail

Josh
@joshtombs
Jul 28 2014 18:24
I believe pioneer would be AN easy to understand
much spellcheck
very english
REENOIP
Sam Saccone
@samccone
Jul 28 2014 18:25
i need your thing in here :)
Josh
@joshtombs
Jul 28 2014 18:26
i dont remember, you may or may not need to change the word dill on it
i dont remember using it alot
what was the other thing that you said would be cool to implement?
Sam Saccone
@samccone
Jul 28 2014 18:30
clickAt
readAt
Josh
@joshtombs
Jul 28 2014 18:30
right
Sam Saccone
@samccone
Jul 28 2014 18:30
yep
fix the open PRs first tho
Josh
@joshtombs
Jul 28 2014 18:37
for whatever reason it won't let me squash that commit
on fields-forms-docs
Sam Saccone
@samccone
Jul 28 2014 18:38
,,,,,,,,,,,,,
Josh
@joshtombs
Jul 28 2014 18:38
,,,
function()
,,,
, ^ -1
`
Josh
@joshtombs
Jul 28 2014 19:13
@samccone what do i have to do to add files to the compile list?
also:
for(var i = 0; i < site["p"+options.pane].length; i++){
        if (~site["p"+options.pane][i].indexOf(options.line)){
          site.unhighlightAll();
          site.feature.highlight(site.p1[i]);
          site.steps.highlight(site.p2[i]);
          site.terminal.highlight(site.p3[i]);
          site.terminal.displayLines(site.p5[i]);
          if (options.moveVideo)
            site.MovieTheatre.seekTo(site.p4[i], true);
      }
}
Josh
@joshtombs
Jul 28 2014 19:22
scratch that JS
how about templates
how jade do templates
:japanese_ogre: