errorrik / mdv Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/mdv
License: Apache License 2.0
Automatically exported from code.google.com/p/mdv
License: Apache License 2.0
e.g. selectedRow for a masterView
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:41
http://mdv.googlecode.com/svn/trunk/docs/faq.html#leaveItToLibraries
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 6:49
UI may want to display or limit the number of items.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:24
This avoids having to walk its entire sub-dom
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:37
We can take the same approach here to async template operation: implement it
such that it happens synchronously to a top-level change, but sub-changes are
delayed/queued.
For callbacks, this will at least mean we can create tests that assert that
only one *callback* is on the stack at one time.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:34
The idea should be to let authors hook into instance creation so they can do
some post-processing on the DOM created by MDV.
Original issue reported on code.google.com by [email protected]
on 2 May 2011 at 7:13
Or the other way around. They should just match
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:29
http://mdv.googlecode.com/svn/trunk/docs/faq.html#relationToXBL
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 6:49
We have sample code like this which is pretty ugly
<span hidden="{{ expr(bid, reserve) bid >= reserve ? '' : null }}">
Original issue reported on code.google.com by [email protected]
on 11 Jan 2013 at 9:54
Needs to be pulled over from old repo
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:17
It should be close
Original issue reported on code.google.com by [email protected]
on 19 Apr 2011 at 10:35
nuff said
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:23
Does the anonymous DOM inherit the model implicitly?
How are attributes made available to elements?
Can the anonymous DOM consume model scope? (e.g. what happens to <content>
output nodes in terms of their scope)?
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:40
NaN used to show both messages.
Can we have special handling for numbers? It seems odd to have to write "var
!== NaN" every time.
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 10:54
Attachments:
Not working in FF (need to check Safari/IE9)
Needs more UI (so you know what the boxes are for)
Needs a JS command line (for updating model properties)
Create links to sandbox from examples in docs/capabilities
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:26
What steps will reproduce the problem?
1. Go to MDV project home page.
2. Click 'Use cases' link
https://code.google.com/p/mdv/source/browse/#git%2Ftrunk%2Fuse_cases
Should be:
https://code.google.com/p/mdv/source/browse/use_cases
Original issue reported on code.google.com by [email protected]
on 24 Oct 2012 at 6:19
to match docs
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:28
navigate to: code.google.com/p/mdv
The text talks about requiring FireFox 4, should be Firefox.
/pedantic
Thanks!
Original issue reported on code.google.com by robmcampbell
on 28 Apr 2011 at 4:08
Should match the semantics of PathValue observers.
Update the docs
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:35
this includes URL-context aware behavior for inline and OOB bindings
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:31
the following doesn't seem to work:
<template instantiate>
<div modelScope="foo">
{{ bar }}
</div>
</template>
I debugged a bit, and I think the problem has to do with phantomInstances
Original issue reported on code.google.com by [email protected]
on 18 Apr 2011 at 11:55
What steps will reproduce the problem?
1. Create an observer for some data.
2. In that observer call Model.dirtyCheck
3. Make a data change that will cause the observer to be notified and call
Model.dirtyCheck
What is the expected output? What do you see instead?
Expect this not to cause an iloop but it does.
What version of the product are you using? On what operating system?
r 9a1b79b34515
Please provide any additional information below.
Here's a simple example:
var m = {};
Model.observe(m, 'foo', function() {
Model.dirtyCheck();
});
m.foo = 'bar';
Model.dirtyCheck();
I think we can fix this by adding a simple re-entrancy check to dirtyCheck,
something like:
if (notificationQueueIsRunning)
return;
before this loop in Model.dirtyCheck
do {
observedList.forEach(addNotification);
startNotifications();
} while (notificationsMade)
As it currently is, notificationsMade is managed in startNotifications;
however, startNotifications itself has a re-entrancy check. Therefore, if
notificationsMade is true and Model.dirtyCheck is called, the loop in
dirtyCheck never exists.
Original issue reported on code.google.com by [email protected]
on 11 Jan 2013 at 6:25
For example: use_cases/simple.html.
It makes it look like something is broken. We should at least fix the examples
to create empty string default values.
More importantly, we should think about what the right behavior is here.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2011 at 12:00
Currently, there's no way to destroy a view: its observers live forever, which
keeps them and the view from being GCed.
The main reason we need view destruction is because assigning a new view is the
only way to get the framework to re-sort (say, after the user clicks on a title
header). So it might be that providing a way to update an existing view would
be sufficient.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 11:39
The following is a bit strange:
var m = {a: {b: 1}};
var changed = false;
function observer() {
changed = true;
}
Model.observe(m, 'a.b', observer);
Model.dirtyCheck();
Model.setValueAtPath(m, 'a.b', 2);
changed = false;
m.a.b = 1;
Model.dirtyCheck();
assertTrue(changed);
This does not notify the observer since the value has not change since last
time we dirty checked. However, this causes problem because the ValueBinding
sets the value of the input and we need to synchronize the tracker.
Original issue reported on code.google.com by [email protected]
on 11 Jan 2013 at 9:28
Initially, it held steady at around 5-10x. Now it gets work with every refresh.
We must have a leak somewhere.
Original issue reported on code.google.com by [email protected]
on 18 Apr 2011 at 11:56
Not using style anyway.
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 10:51
Attachments:
Needs to be pulled over from old repo
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:17
Looks like it's almost there.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2011 at 12:04
Almost there. The tricky part is now allowing phantomInstances to contain
template iterators
Original issue reported on code.google.com by [email protected]
on 19 Apr 2011 at 12:01
And update the docs
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.