La muestra para probar el JavaScript estaba directamente ubicada en la plantilla de temas para que pudiese eliminarse fácilmente luego de probarse, pero no se necesita ningún módulo en el perfil para el código de muestra.
The sample to test the JavaScript was directly placed into the theme template so it could be easily removed after testing, but no module is required in the profile for the sample code.
Parece muy trabajoso, pero una vez que lo tengamos configurado es fácil probar el JavaScript de cualquier especificación simplemente añadiendo la opción:js => true.
This might have seemed like a lot of work, but once it's all set up it's easy to test JavaScript for any spec by just adding the:js => true option.
Permite utilizar fixturas, lo que quiere decir que podemos probar el JavaScript contra un fragmento de HTML sencillo.
This provides fixture support, which means that we can test JavaScript against a simple HTML fragment.
Other results
Dado que las aplicaciones van siendo cada vez más complejas e incorporan más funcionalidad surge la necesidad de tener una forma automática de probar el código JavaScript.
As web applications become more complex and have more functionality on the client it would be good to have an automated way of testing JavaScript code.
Jasmine es un framework de desarrollo dirigido por comportamiento para probar código javaScript.
Jasmine is a behavior-driven development framework for testing JavaScript code.
Está destinado a probar aplicaciones web de JavaScript.
Para disfrutar del sitio al máximo, debes habilitar JavaScript y probar a volver a cargar esta visualización.
For the best viewing experience, please enable JavaScript and try loading this visualization again.
Si te interesa el mundo de la programación, lánzate a probar Javascript Plus!
If you are interested in the world of programming, testing launch Javascript Plus!
Contre Jour ayudó a probar que JavaScript podía hacer casi cualquier cosa que Objective-C podía hacer con conceptos como encapsulación, polimorfismo y herencia.
Contre Jour helped prove that JavaScript could do nearly everything that Objective-C could with concepts like encapsulation, polymorphism, and inheritance.
Ahora que los artículos de la página HTML y una muestra para probar Worklight JavaScript están incluidos como archivos individuales en el tema, usted puede definirlos como artefactos en módulos nuevos.
Now that the items from the HTML page and a sample for testing the Worklight JavaScript are included as individual files in the theme, you can define them as artifacts in new modules.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.