Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b.addToStory() does not work #71

Open
trych opened this issue Jul 22, 2016 · 1 comment
Open

b.addToStory() does not work #71

trych opened this issue Jul 22, 2016 · 1 comment
Assignees
Labels

Comments

@trych
Copy link
Contributor

trych commented Jul 22, 2016

This does not seem to work at all for me. Tested on CS6, CC2014 and CC2015 under OS X.
Try this snippet:

#includepath "~/Documents/;%USERPROFILE%Documents";
#include "basiljs/bundle/basil.js";

function draw() {
  var tf = b.text("This script …", 0, 0, 200, 200);
  var story = tf.parentStory;

  b.addToStory(story, " works!");
}

b.go();

Nothing gets added to the story.

@fabiantheblind Now you could maybe help me with your git knowledge: Is it somehow easily possible to git checkout old releases, so I can investigate when this stopped working and find out why? Thanks!

Please flag as bug.

@ff6347
Copy link
Member

ff6347 commented Jul 22, 2016

Take a look here: http://stackoverflow.com/questions/2007662/rollback-to-an-old-git-commit-in-a-public-repo

Run a:

git log

and get the hash you want to revert to

then:

git checkout [hash] .

to reset this to the latest state run a:

git reset --hard;

To checkout a tag take a look here: http://stackoverflow.com/questions/791959/download-a-specific-tag-with-git

This lists all the tags:

git tag -l

To checkout the tag and create a new branch from it run:

git checkout tags/<tag_name> -b <branch_name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants