1.3.5 • Published 10 years ago

urturn-expression-api v1.3.5

Weekly downloads
6
License
AGPL 3
Repository
github
Last release
10 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

10 years ago

1.3.2

10 years ago

1.3.0-beta3

10 years ago

1.2.12

10 years ago

1.2.12-beta1

10 years ago

1.2.10

11 years ago

1.2.8

11 years ago

1.2.7

11 years ago

1.2.6

11 years ago

1.2.5

11 years ago

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.1-alpha7

11 years ago

1.1.1-alpha4

11 years ago

1.1.1-alpha3

11 years ago

1.1.1-alpha2

11 years ago

1.1.1-alpha1

11 years ago

1.1.0

11 years ago

1.0.3-alpha1

11 years ago

1.0.2

11 years ago

1.0.2-rc7

11 years ago

1.0.2-rc6

11 years ago

1.0.2-rc5

11 years ago

1.0.2-rc4

11 years ago

1.0.2-rc3

11 years ago

1.0.2-rc2

11 years ago

1.0.2-rc1

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.9.3

11 years ago

0.9.2

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago

0.9.0-beta13

11 years ago

0.9.0-beta12

11 years ago

0.9.0-beta11

11 years ago

0.9.0-beta10

11 years ago

0.9.0-beta9

11 years ago

0.9.0-beta8

11 years ago

0.9.0-beta7

11 years ago

0.9.0-beta6

11 years ago

0.9.0-beta5

11 years ago

0.9.0-beta4

11 years ago

0.9.0-beta3

11 years ago

0.9.0-beta2

11 years ago

0.9.0-beta1

11 years ago

0.9.0-alpha10

11 years ago

0.9.0-alpha9

11 years ago

0.9.0-alpha8

11 years ago

0.9.0-alpha7

11 years ago

0.9.0-alpha6

11 years ago

0.9.0-alpha5

11 years ago

0.9.0-alpha4

11 years ago

0.9.0-alpha3

11 years ago

0.8.2

11 years ago

0.8.1

11 years ago

0.8.0-beta

11 years ago

0.7.4

11 years ago

0.7.3

11 years ago

0.7.1

11 years ago

0.7.0

11 years ago

0.6.1-rc3

11 years ago

0.6.1-rc2

11 years ago