update

We now support unlimited “Private” weaves for registered users!

In tile mode, the “Private” toggle button appears below the “weaves”

Over the last few months, we have received several requests to support “Private” weaves. It is basically a feature that allows registered users to keep their weaves completely private!

All weaves by default are “public” and can be viewed by anyone if you share the weave id with them. While they will never be able to “edit” (or “delete”) your weave, they could still see it (considering they know the weave id, e.g. http://liveweave.com/abcxyz).

To change a “public” weave to “private”, simply login to your dashboard and click the toggle button that says “Private”. That’s it!

The best part…Liveweave.com supports unlimited “privates” weaves (or code) for all registered users!

In list mode, the “Private” toggle appears on every row beside the action icons

A new way of saving weaves

Until recently every time the “Save” button was clicked, Liveweave created a new “shareable” URL with a unique weave ID. The reason we originally did this was to ensure that no change or edits get over-written and your original weave/code stays safe.

However, over recent years we realized that doing this opened up a huge security hole, allowing spammers to take advantage of this and spam their content freely. In fact, we had to recently remove well over 450,000 spam weaves collected over the last few years!

Because of this, we have recently made a major change in how the “Save” feature works in Liveweave.

Users with accounts

Going forward if you have saved a weave while staying logged in, you will be able to make an infinite number of edits on the same weave ID! So at the end of the day, all your changes will be made to the same weave, as opposed to what we had before…new weave ID created every time you clicked that “Save” button.

Having said that, only you will be able to make edits to your weaves and no one else. You will still be able to share the weave URL with others, but they will not be able to make any changes. Of course, you can Delete or Rename your weaves as usual as well.

Advantages of registered users with accounts

  1. Keep an eye on all your weaves in a dashboard
  2. Rename or Delete any of your weaves
  3. See how many page views you received on your weaves – in case you decide to share it with your friends and it goes viral in Twitter or Reddit 🙂
  4. Make infinite edits to all your existing weaves.
  5. Keep your weave forever! (unless it is super-large in size or violates our terms & policy)

Anonymous users without accounts

We understand that some folks would like to use Liveweave anonymously without creating an account. And you can actually still do that! But, because of severe spamming in recent years, we will be closely watching these weaves (saved anonymously). If these weaves are never viewed (i.e. if they don’t have any page views) in the last few months (around 180 days), we may be deleting them! So the best option is still to either create an account or Download the weave locally.

You can make any number of edits to the saved weave as long as you are in the same session. The moment you close the browser tab (or session), you will no longer be able to make any further edits to the same weave.

A huge disadvantage of saving weaves anonymously is that unless you take a note of your saved weave ID, you will lose it forever! This means if you accidentally shut down your computer without saving the weave, you will lose all your changes.

If you see a disabled “Save” button

If you see the “Save” button is disabled, it means that the weave you are viewing or editing does not originally belong to you. Basically, you are not the original author. If you really like a weave (belonging to someone else), you can always login and go back (by clicking the “Liveweave” logo), and then click the “Save” button (this is because Liveweave keeps the last weave opened in the session).

Hopefully, these all make sense to you! If not, please feel free to reach out to us at support@liveweave.com

We now support ECMAScript 6 (ES6) keywords and its built-in functions!

ECMAScript 6 (ES6) or ECMAScript 2015 is the new generation of JavaScript. In the past, while you could have still written ES6 code in Liveweave (since the rendering is dependent on the browser), it did not really have the support for ES6 keywords and its built-in functions as a part of its code-hinting technology.

Now we do!

If you want to learn more about ES6, here is a great tutorial to write object-oriented JavaScript using “classes” (ES6):

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes

A quick example of ES6 code is below (using “class” to build an object):

class Car {
constructor(brand) {
this.carname = brand;
}
present() {
return 'I have a ' + this.carname;
}
}

We are also currently working on a new documentation (or rather a cheatsheet) for JavaScript/ECMAScript 6 in the meantime. So, stay tuned!