This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/client/js/models
rr- d2a5e1056d client/models: discard field declarations
This has important side effect that matters when we check for data
changes using _orig dictionary. Previously, _orig was empty (so its
members fields were undefiend) whereas the real fields were declared as
nulls. This meant that for new entities, the conditions were always
true, which is unintended. Now both _orig and the class itself are
initially populated with _updateFromResponse which syncs the state
between them, removing the problem.
2016-07-26 23:15:05 +02:00
..
abstract_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
comment.js client/models: discard field declarations 2016-07-26 23:15:05 +02:00
comment_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
info.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
post.js client/models: discard field declarations 2016-07-26 23:15:05 +02:00
post_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
settings.js client/posts: remember fit mode 2016-06-29 18:54:49 +02:00
tag.js client/models: discard field declarations 2016-07-26 23:15:05 +02:00
tag_category.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
tag_category_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
tag_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
top_navigation.js client/general: add title to every page 2016-07-13 21:50:07 +02:00
user.js client/models: discard field declarations 2016-07-26 23:15:05 +02:00
user_list.js client/general: replace direct API with models 2016-06-20 23:52:09 +02:00