Using jQuery, you write the same code like this.
使用jQuery编写的功能相同的代码。
You can save time by not repeating the same code over and over.
由于不用一遍又一遍重复相同的代码,可以节约时间。
Keep the source of differing versions of the same code separate.
分开保存相同代码的不同版本源代码。
Listing 6 shows the same code after I used the Inline refactoring.
清单6显示执行了Inline重构的代码。
You can use the same code to drive your Web service and your view.
可以用相同的代码来驱动Web服务和视图。
Later, if you must rebuild the same code, simply run the shell script.
稍后,如果您必须重新编译相同的代码,只需要运行这个Shell脚本即可。
Running the same code using the JSON format yields a much more compact statement
使用JSON格式运行相同的代码将得到精简得多的语句
We could define the callback function in the same code block, but with a name.
我们可以在同一个代码块中定义回调函数,但是使用一个名称。
That's exactly the same code as before, just wrapped with prologue and epilogue code.
这与之前的代码完全相同,不过增加了序言和尾声代码。
Even though it is the same variable name in the same code, num is different this time.
尽管这是相同代码中的相同变量名,不过num这次不同了。
Listing 3 shows the same code with logic added that tests for word string length and frequency.
清单3展示了相同的代码,但是添加了测试单词字符串长度和频率的逻辑。
Running the same code on a 2-ghz (or faster) Pentium 4 produces full-motion video at 800x600.
如果在2ghz(或更快的)Pentium4上运行同样的代码,那么可以产生800x600的运动视频。
Ideally, you should be able to use the same code with some additional markup, as in this example.
理想情况下,您应该可以使用同样的代码外加一些附加标记进行创建,如下所示。
Now, try to run the same code under JBoss 5. It's easy enough to move between the two environments.
现在,尝试在JBoss5下运行同样的代码。在这两个环境之间移动很简单。
For most developers, writing almost the same code for every DAO in a system has by now become a habit.
对于大多数开发人员,为系统中的每个DAO编写几乎相同的代码到目前为止已经成为一种习惯。
If you run the same code through json_encode , you get a portable json object (as shown in Listing 5).
如果您通过json_encode运行相同的代码,您将得到一个可移植的json对象(如清单5所示)。
However, you could also execute the same code in the context of a calculator class to receive a result.
然而,你还可以在一个calculator类的上下文中执行同样的代码来获得结果。
This code reuse results in more reliable and efficient code, because the same code is tested again and again.
代码重用可以得到更可靠和更有效的代码,这是因为对相同的代码进行了反复测试。
That means the same code written by one developer will often be used and modified by many other engineers.
那意味着由一名开发人员编写的同一段代码通常是由许多其他工程师来使用和修改的。
Is a prototype still a prototype if the same code used to build it is also used to create the final product?
如果用来构建原型的代码也用来创建最终产品,那么它还是原型吗?
And we can use this command line to invoke the same code (Listing 4) that we used in our CosNaming example.
我们可以用这个命令行调用在CosNaming例子中使用的同一段代码(清单4)。
But the same code died horribly when someone introduced a 68030 machine with main memory starting at 0x8000000.
但是当将相同的代码移植到一台主存地址从0x8000000开始的68030机器上时,这些代码就会死掉。
If possible, have the client running in the same code page as the database, to avoid conversion costs on the server.
如果可能的话,让客户机与要存取的数据库使用相同的代码页,以避免在服务器上的转换代价。
By using a generic Session object, you can use the same code even if that code is not running inside a web application.
通过使用一个通用的Session对象,即便该代码没有在一个Web应用程序中运行,仍可以使用相同的代码。
Most of the code within a JAX-RPC call is bidirectional, so the same code used on the server is also used on the client.
JAX - RPC调用中的大多数代码是双向的,因此,在服务器上使用的相同代码也可在客户机上使用。
This method takes a new client object and an anonymous method that holds the same code a normal using block would contain.
方法接收一个新的客户端对象,以及一个匿名方法,该方法持有的代码与正常使用using语句块包含的代码完全相同。
If you must rebuild the same code or build a newer version of the code, you can refer to your journal to refresh your memory.
如果您必须重新编译相同的代码,或者编译该代码更新的版本,那么就可以借助您的记录,回忆起所需采取的步骤。
Start with the same code from Listing 10, but without any initial static pages in the StackContainer, as shown in Listing 11.
以清单10相同的代码开始,但没有StackContainer内的任何初始静态页面,如清单11所示。
That way, the actions in your detailed information component and all your summary information components can use the same code.
那样,详细信息组件和所有摘要信息组件中的操作可以使用相同的代码。
Those who use it will find that they often have to write the same code each time they want to create a different Singleton class.
他们会发现每次他们要创建一个不同的单例类的时候,都不得不写同样得代码。
应用推荐