1.3.5 • Published 11 years ago

urturn-expression-api v1.3.5

Weekly downloads
6
License
AGPL 3
Repository
github
Last release
11 years ago

Build Status

Changelogs

0.8.2

  • FIX: ready event triggered twice if registered after edit.

0.8.1

  • NEW: Video data added

0.8.0

  • NEW: Use scroll() to get the current scroll position and scroll({top: 123}) or scroll({bottom: 0}) to scroll to specific positions.
  • NEW: Added the method UT.Post.queueUp(name, callback) that will retrieve the next available number in the sequence name.
  • NEW: Expression starting from 0.8.0 must support to be resized in width at runtime.
  • NEW: use size() to retrieve the current size.
  • REFACTOR: Listen on 'scroll' instead of 'scrollChanged' to get notified when the scroll has been updated.
  • REFACTOR: use size(args) instead of resize(args) to resize the post.
  • REFACTOR: post.size() and post.scroll() now accept an optional callback that will be triggered once the operation complete. The global events post.on('scroll') and post.on('resize') will be called as well as before.
  • FIX: scroll event is fixed.
  • FIX: post.users('current') now have valid numberOfPost and numberOfUse values (notes that there might be some delays to the update).

0.7.5

  • FIX: fixed a bug where parent data collection was preventing expression loading on mobile.

0.7.2

  • FIX: context use indiferently 'editor' or 'edit'. Now use 'editor' or 'player' syntax.

0.7.1

  • REFACTOR UT.Collection / UT.PublicCollection: Collection and PublicCollection are now two different classes given the fact their roles are indeed very differrent.
  • ADD: UT.PublicCollection.find() retrieve the most recent item of the collection. This open the door to a whole new kind of expression where viewer items are used directly rather than with their comments.
  • ADD: UT.User, representing a user
  • ADD: UT.Post#users(items, callback) a method that retrieve an array of UT.User for a given array of items, the current user when 'current' is given as first parameter or an UT.User instance if only one item is given.
  • ADD: UT.Post#isOwner(user) return true if the given user is the post owner
  • ADD: UT.Post#isCurrentUser(user) return true if the given user is the current user

0.6.3

  • FIX: a bug where .dialog callback was not called when user close the library

0.6.2

  • FIX: a bug that prevent .on('media') to work correctly with bookmarklet.

0.6.1

  • ADD User API: let you retrieve information on current user.
  • ADD: support for new UT.Image(URL) : let you create an UT.Image form an url.
  • ADD: pause event on post, called when post is hedded and media should pause.
  • FIXED : Multiple bugs in user collection
  • Fix a bug where array cannot be serialized
  • Fix a bug where items with null value was not fully removed
  • Fix a bug where undefined items was not removed
  • Fix a bug where setting an item to null was throwing an exception on save (issue #8381)
  • Fix a bug where storage was accepting functions, now throw an Error
  • Better tests of collections sanitization method
  • Refactor the tests to avoid using public collections for everything

0.6.0

  • Implements the 'flat API'.

0.5.2

  • add a new method to get Parent Document data when use Urturn. Use expression.getParentData() to get parent document data. Return an empty object if no data are set.

## 0.5.1

  • new method signature for Post#textInput(options, callback) where options support keys value, max and multiline, and callback receive the resulting string or null if none are typed.

Build Process

We use Grunt to build the package and bower to manage our internal dependencies. Every dependencies must have a valid bower.json file that will list their main resources.

License

Copyright Webdoc Inc. 2012, all rights reserved

1.3.5

11 years ago

1.3.2

11 years ago

1.3.0-beta3

11 years ago

1.2.12

11 years ago

1.2.12-beta1

11 years ago

1.2.10

12 years ago

1.2.8

12 years ago

1.2.7

12 years ago

1.2.6

12 years ago

1.2.5

12 years ago

1.2.3

12 years ago

1.2.2

12 years ago

1.2.1

12 years ago

1.2.0

12 years ago

1.1.1-alpha7

12 years ago

1.1.1-alpha4

12 years ago

1.1.1-alpha3

12 years ago

1.1.1-alpha2

12 years ago

1.1.1-alpha1

12 years ago

1.1.0

12 years ago

1.0.3-alpha1

12 years ago

1.0.2

12 years ago

1.0.2-rc7

12 years ago

1.0.2-rc6

12 years ago

1.0.2-rc5

12 years ago

1.0.2-rc4

12 years ago

1.0.2-rc3

12 years ago

1.0.2-rc2

12 years ago

1.0.2-rc1

12 years ago

1.0.1

12 years ago

1.0.0

12 years ago

0.9.3

12 years ago

0.9.2

12 years ago

0.9.1

12 years ago

0.9.0

12 years ago

0.9.0-beta13

12 years ago

0.9.0-beta12

12 years ago

0.9.0-beta11

12 years ago

0.9.0-beta10

12 years ago

0.9.0-beta9

12 years ago

0.9.0-beta8

12 years ago

0.9.0-beta7

12 years ago

0.9.0-beta6

12 years ago

0.9.0-beta5

12 years ago

0.9.0-beta4

12 years ago

0.9.0-beta3

12 years ago

0.9.0-beta2

12 years ago

0.9.0-beta1

12 years ago

0.9.0-alpha10

12 years ago

0.9.0-alpha9

12 years ago

0.9.0-alpha8

12 years ago

0.9.0-alpha7

12 years ago

0.9.0-alpha6

12 years ago

0.9.0-alpha5

12 years ago

0.9.0-alpha4

12 years ago

0.9.0-alpha3

12 years ago

0.8.2

12 years ago

0.8.1

12 years ago

0.8.0-beta

12 years ago

0.7.4

12 years ago

0.7.3

12 years ago

0.7.1

12 years ago

0.7.0

12 years ago

0.6.1-rc3

12 years ago

0.6.1-rc2

12 years ago