In other words, item renderers are one place where it really does count to optimize your JavaScript code.
Em outras palavras, os renderizadores de item são um lugar onde otimizar o seu código JavaScript realmente conta.
You could just add it anywhere to your JavaScript code, but then there's a chance it might get called before the control exists.
Você poderia adicioná-lo a qualquer lugar do seu código JavaScript, mas existiria uma chance de ele ser chamado antes de o controle existir.
Place assertions in your JavaScript code by calling console.assert() with the error condition as the first parameter.
Insira declarações no seu código JavaScript chamando console.assert() com a condição do erro como o primeiro parâmetro.
Global Variables: A global variable has global scope which means it is defined everywhere in your JavaScript code.
Variáveis globais: Uma variável global tem escopo global o que significa que é definida em todos os lugares em seu código JavaScript.
By using the GPU for visual rendering, we free up the CPU to perform other operations like JIT(Just-in-time) compiling of your JavaScript code that can further improve the performance of your app.
Ao usar a GPU para renderização visual, liberamos a CPU para realizar outras opções como compilação JIT(Just-in-time) de seu código JavaScript, que pode aprimorar ainda mais o desempenho de seu aplicativo.
You must also call the WinJS.UI.processAll function in your JavaScript code.
Você também deve chamar a função WinJS.UI.processAll em seu código JavaScript.
One way to check your JavaScript code for strange bugs is to run it through a program that checks it to make sure it is valid and that it follows the official syntax rules of the language.
Existem várias maneiras para depurar o JavaScript para bugs estranhos é executá-lo através de um programa que verifica-lo para se certificar de que é válido e que ele segue as regras de sintaxe oficial da língua.
Nowadays the best tool for linting your JavaScript code is JSHint.
Nos dias de hoje, a melhor ferramenta para analise de código em JavaScript é o JSHint.
Potencjalnie wrażliwe lub nieodpowiednie treści
Wyświetlamy przykłady wyłącznie po to, aby pomóc ci z przetłumaczeniem słowa lub wyrażenia w różnych kontekstach. Przykłady nie zostały przez nas wybrane ani zatwierdzone i mogą zawierać niestosowny język. Prosimy cię o zgłoszenie przykładów, które należy poprawić lub które nie powinny być widoczne. Potencjalnie wrażliwe, nieodpowiednie lub potoczne tłumaczenia są zwykle oznaczone kolorem czerwonym lub pomarańczowym.