request animation frame stops working when exiting fullscreen clicking on original space's safari window. fine if fullscreen mode canceled escape key or calling cancelfullscreen(). steps reproduce: open https://dl.dropboxusercontent.com/u/769042/prezi/safari-fullscreen.html click "draw raf", kittie appears click "fullscreen", go fullscreen click "draw raf", kittie appears go space original safari was, showing "click exit fullscreen mode", click anywhere, out fullscreen click "draw raf", nothing happens what handling click calling: window.requestanimationframe(draw); which draws on canvas context: function draw() { ctx.drawimage(img, math.random()*500|0, math.random()*400|0, 100, 100); } i checked .hidden , .visibilitystate, updated correctly. tested on osx 10.9.3, safari 7.0.4 (9537.76.4). has workaround/solution other switching old settimeout? this sounds webkit bug 88940 : using reque...
i have method takes generic tentity overriden. it's signature follows: public virtual expression<func<aclproject, bool>> projectfilter(params tentity[] objs) { return (p) => objs.select(o => o.id).contains(p.id); } i filter query based on this: from p in db.somedbset db.aclprojects.where(projectfilter(p)).any() select p this results in 1025 error. (note doesn't matter body of projectfilter is, error still occurs. any ideas why? thanks!
when trying convert json file via powershell: $json = get-content "c:\folder1\test.txt" $json | convertfrom-json write-output $json i'm getting following error: invalid json primitive : [. (system.argunment.exception) i'm going out on limb here, since didn't provide input data or complete error message, guess problem caused format mismatch between output get-content provides , input convertfrom-json expects. get-content reads input file array of strings, whereas convertfrom-json expects json data in single string. also, piping $json convertfrom-json not change value of $json . change code following , error should disapear (provided there no syntactical error in input data): $json = get-content 'c:\folder1\test.txt' | out-string | convertfrom-json write-output $json
Comments
Post a Comment