Phi: upgrade to knockout 3.4.0
Using new knockout feature "deferred updates" saves us many redundant UI updates
This commit is contained in:
parent
4833e9f27a
commit
6099592a98
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@ require.config({
|
|||
paths : {
|
||||
jquery : '3rdparty/jquery/jquery-1.11.2.min',
|
||||
'jquery-ui' : '3rdparty/jquery/ui',
|
||||
knockout : '3rdparty/knockout/knockout-3.2.0',
|
||||
knockout : '3rdparty/knockout/knockout-3.4.0',
|
||||
kojqui : '3rdparty/knockout-jqueryui',
|
||||
sprintf : '3rdparty/sprintf/sprintf.min',
|
||||
leaflet : '3rdparty/leaflet-0.7.7/leaflet',
|
||||
|
@ -29,6 +29,9 @@ require([
|
|||
'jquery-ui/sortable', 'flot', 'leaflet', 'knockprops'
|
||||
], function(ko, jquery, Sammy, fgcommand) {
|
||||
|
||||
ko.options.deferUpdates = true;
|
||||
|
||||
|
||||
ko.utils.knockprops.setAliases({
|
||||
|
||||
// time
|
||||
|
|
Loading…
Add table
Reference in a new issue