yui 雅虎 文档 兼容性

    技术2022-07-11  154

    yui 雅虎 文档 兼容性

    One of the best parts of Thanksgiving is having another day of the week to sit and watch NFL football. Like any hardcore football fan, I have a more than one fantasy football team under my management. Updating my teams ever week is clearly important -- I have to make sure players aren't hurt, suspended, and so on.

    感恩节最好的部分之一是一周中的另一天可以坐下来观看NFL足球比赛。 像任何铁杆足球迷一样,我拥有一支以上的幻想足球队。 每周更新我的团队显然很重要-我必须确保球员没有受到伤害,被停赛等。

    Twenty minutes before the Jets @ Cowboys game on Thanksgiving, I realized I still had Cowboys receiver Patrick Crayton in my lineup. Crayton had a foot injury and it was announced the day before that he wouldn't be playing. In essence, I needed to go to Yahoo and update my team quickly so that Crayton wouldn't be locked into it.

    在感恩节的Jets @ Cowboys游戏开始前20分钟,我意识到我的阵容中仍然有Cowboys接球手Patrick Crayton。 克雷顿(Crayton)脚受伤,前一天宣布他将不再比赛。 本质上,我需要去Yahoo并Swift更新我的团队,以免Crayton陷入困境。

    I grabbed my laptop, fired up Firefox, and went to the player lineup screen to put Crayton on the bench. I waited for the page to load...waited...waited...and the player-switching part of the page never loaded. Noooooooo!

    我拿起笔记本电脑,启动了Firefox,然后转到播放器阵容屏幕,将Crayton放在了替补席上。 我等待页面加载...等待...等待...页面的播放器切换部分从未加载。 不!

    As you probably know, Yahoo has its own JavaScript framework/library called YUI. Yahoo's fantasy football lineup page uses YUI, and allows team managers to drag and drop players in and out out the manger's lineup. The problem was that Yahoo's JavaScript libraries weren't loading properly -- thus, no way to swap players out of my lineup.

    您可能知道,Yahoo有自己JavaScript框架/库YUI。 雅虎的梦幻足球阵容页面使用YUI,并允许团队经理将球员拖放到经理的阵容中。 问题在于YahooJavaScript库无法正确加载-因此,没有办法从我的阵容中交换球员。

    I knew that with less than 10 minutes until game time, the JavaScript library issue wasn't going to be fixed in time. I went into Firefox's options and turned off JavaScript, hoping that the page would use the old method of editing a lineup. I quickly prayed refreshed the page.

    我知道距游戏时间不到10分钟,JavaScript库问题不会及时解决。 我进入Firefox的选项并关闭了JavaScript,希望页面使用旧的方式来编辑阵容。 我很快 祈祷 刷新页面。

    When the "no script" version of the page loaded, I was provided HTML select elements and a standard "submit" button to update my lineup. In the end, I was able to substitute Deion Branch into my lineup and I beat the other manager's team.

    当页面的“无脚本”版本加载时,向我提供了HTML选择元素和一个标准的“提交”按钮来更新我的阵容。 最后,我能够将Deion Branch替换为我的阵容,并且击败了其他经理的团队。

    The fantasy football part of this article should really be viewed as secondary. I hope this tale shows proves the importance of website usability. Using cool JavaScript frameworks like MooTools, YUI, Dojo, Prototype, etc. is a lot of fun, but not always functional. Without Yahoo maintaining page functionality for users without JavaScript, my user experience at Yahoo! would've been very negative. Instead, Yahoo earned my respect.

    本文的幻想足球部分确实应该被视为次要的。 我希望这个故事能够证明网站可用性的重要性。 使用MooTools,YUI,Dojo,Prototype等酷炫JavaScript框架很有趣,但并不总是能正常工作。 没有Yahoo为没有JavaScript的用户维护页面功能,我在Yahoo!上的用户体验 会一直很消极。 相反,雅虎赢得了我的尊重。

    For those wondering, Branch had a solid game: 92 yards receiving and 1 TD. Houshamazilli. Lock it down. Championship!

    对于那些想知道的人,布兰奇打了一场稳定的比赛:92码接球和1 TD。 胡萨马齐利。 锁定它。 冠军 !

    翻译自: https://davidwalsh.name/yahoo-noscript-compatibility-saved-fantasy-football-team

    yui 雅虎 文档 兼容性

    相关资源:jdk-8u281-windows-x64.exe
    Processed: 0.009, SQL: 9