Javascript .onchange限制(Javascript .onchange limitations)
当我开始开发越来越多的复杂Javascript解决方案时,我想知道javascript给我什么样的选项来监控环境中的变化。 我已经看到很多解决方案,不断地ping任何他们想要监视的元素,但对于任何类型的资源繁重的应用程序(或任何情况取决于开发人员的标准)变得臃肿和过于hackish成为一个可行的方法。 这让我想到了“javascript的onchange事件有哪些限制?”。 具体来说,现在我正在尝试监控窗口的大小。 有没有办法利用.onchange事件来做这样的事情? 你怎么解决这个问题?
谢谢! 我很想知道每个人都要说些什么。
As I begin to develop more and more compliacted Javascript solutions, I wonder what sort of options javascript gives me to monitor changes in my environment. I've seen so many solutions that constantly ping whatever element they are wanting to monitor, but for any sort of resource heavy application (or for any case depending on the standards of the developer) that becomes bloated and too hackish to be a viable method. Which brings me to my question, "What are the limitations of javascript's onchange event?". Specifically, right now I'm trying to monitor the size of the window. Is there a way to utilize the .onchange event for things like this? How would you solve this?
Thanks! I'm very interested to hear what everyone has to say.
原文:https://stackoverflow.com/questions/671701
最满意答案
你不能得到他的更新 - 他们已经用他的PC *。
您可以使用VSS admin撤销他的结帐,以便您可以继续使用这些文件。
*除非你有备份。
You can't get his updates back - they have gone with his PC*.
You can use VSS admin to undo his checkouts so that you can carry on working with the files.
*Unless you have backups.
相关问答
更多-
Visual SourceSafe 6.0每天更换相同的“未更改”项目(Visual SourceSafe 6.0 Replacing Same “Unchanged” Project Daily)[2023-09-18]
为了从sln中删除源代码控制,您必须执行上述操作。 根据我的经验,其他一切都可能失败。 从所有文件夹中删除所有.vsscc , .vspscc和.scc文件。 ReadOnly false所有文件。 用编辑器打开sln并删除GlobalSection(SourceCodeControl) = preSolution Section。 用编辑器打开每个prj并删除所有以Scc开头的标签。 In order to remove source control from a sln you must do the ... -
使用Sourcesafe 2005强制其他人文件签入(Forcing other persons files to checkin using Sourcesafe 2005)[2023-04-26]
你不能得到他的更新 - 他们已经用他的PC *。 您可以使用VSS admin撤销他的结帐,以便您可以继续使用这些文件。 *除非你有备份。 You can't get his updates back - they have gone with his PC*. You can use VSS admin to undo his checkouts so that you can carry on working with the files. *Unless you have backups. -
合并Sourcesafe中的文件(Merging files in Sourcesafe)[2023-08-26]
查看不同版本并使用第三方工具合并它们可能是值得的。 看看kdiff3( http://kdiff3.sourceforge.net/ ) - 它可以在Linux或Windows上运行,并且可以非常智能地合并到3个不同的版本。 这允许您将两个开发人员的更改与公共基本版本进行比较。 另一个有用的工具是kompare,它在突出两个文件之间非常具体的差异方面做了令人钦佩的工作。 祝你好运! It might be worthwhile to check out the different versions and ... -
从第一个VSS中删除解决方案中的绑定。 在VS2010中查看解决方案。 使用解决方案资源管理器确保选择解决方案文件“文件”>“源代码管理”>“更改源代码管理” 在对话框中取消绑定所有项目和解决方案,勾选所有项目,然后单击“断开连接” 在此之后,您当然可以将其检入另一个VSS数据库,您仍然需要从第一个VSS数据库中删除它,但我相信这是您真正要求的。 To remove the bindings in the solution from the first VSS. Checkout the solution ...
-
如何在Visual SourceSafe 2005中使用TortoiseMerge?(How to use TortoiseMerge with Visual SourceSafe 2005?)[2023-05-21]
使用 TortoiseMerge.exe %1 %2 代替。 TortoiseProc仅适用于svn工作副本。 Use TortoiseMerge.exe %1 %2 instead. TortoiseProc only works on svn working copies. -
Visual Studio 2008 SP1和Visual SourceSafe 2005(Visual Studio 2008 SP1 and Visual SourceSafe 2005)[2023-10-07]
工具 - >选项 - >源控制 - >插件选择。 选择Microsoft Visual SourceSafe Tools->Options->Source Control->Plug-in Selection. Select Microsoft Visual SourceSafe -
耙任务与mercurial和visual sourcesafe一起使用(Rake tasks to work with mercurial and visual sourcesafe)[2024-02-08]
一旦我没有找到任何提供VSS工作任务的rake库,我就自己做了“get-from-vss”任务。 如果有人需要使用它,可以在我的Albacore库中找到它。 As soon as I didn't found any of rake libraries that provide tasks for work with VSS, I made "get-from-vss" task by myself. If somebody needs to use it, it could be found in my ... -
SourceSafe标签搜索(SourceSafe Label Search)[2021-04-08]
AJ有正确的想法,但你只需要使用“dir”命令而不是获取: ss dir -v"LABEL" $\PROJECT -R 这将输出具有该标签版本的每个文件,格式为: someFile.c;23 someOtherFile.h;3; 对于那些感兴趣的人,如果你想快速告诉你文件的最新版本是什么,你可以做: ss dir -v. $\PROJECT -R 玩得开心! AJ had the right idea, but you just need to use the ... -
您可以对所有文件执行“撤消签出”,将其本地版本保留在您的计算机上; 然后再检查这些文件,而不从Visual SourceSafe获取最新版本; 然后检查所有这些。 在这种情况下,历史被保留。 您只需覆盖最新版本的文件而无需任何合并。 对我来说似乎是你想要的。 我有同样的问题,并以这种方式排序。 You could just do "Undo check out" for all files, keeping their local versions on your machine; then again c ...
-
你不会破坏SourceSafe。 这是在您的情况下工作的绝佳方式 更新:忽略任何您不感兴趣的文件,例如scc文件。 您的存储库不需要重新创建整个项目,只需跟踪您更改的内容。 我对Mercurial和CVS做了同样的事情。 该公司使用CVS,我使用我随时检查的本地Mercurial存储库,并在我开心时登记到CVS。 [在旁边] 在个人层面上改变源控制系统很好,但对于团队来说往往会有问题。 人们习惯了源控件的工作方式,并利用它们的优势。 在没有完全购买的情况下更换系统,他们可能需要很长时间才能感受到优势超过他们 ...