javascript

Custom Javascript in Moodle/Totara, Javascript & AMD Modules

Author - Pawandeep Kaur
|
0 Comments
|

How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules?

A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files.

These modules are written by using the AMD(Asynchronous Read more…

Various Array helper methods in Javascript

Author - Parminder Kaur
|
0 Comments
|

Explanation of various Array helper methods in Javascript with example

The various methods I am going to discuss below are a part of functional programming in Javascript. In functional programming output of the method depends on the arguments passed to the method. In Javascript, we have Read more…

Download byte array as a file in ASP .NET MVC and Javascript

Author - Harleen Kaur
|
0 Comments
|

How to download byte array as a file in ASP .NET MVC and Javascript?

Here is a simple approach to invoke file download operation in the browser for bytes array available on the server:

I am receiving the file in the format of bytes array from Read more…

Selenium Webdriver with JavaScript (JavaScriptExecutor)

Author - Manpreet Singh
|
0 Comments
|

How to Use Selenium Webdriver with JavaScript?

Selenium is an open source automation testing tool. It is used to test the web application. Selenium supports multiple languages to create an automation script such as Java, Python, PHP, C#, Ruby.

In case we want to test with Read more…

Nodejs callback with example

Author - Tanuj Sharma
|
0 Comments
|

Nodejs callback

A callback is a function that can be called on the completion of a given task to prevent blocking. As a result of it other code will run without waiting for a task to complete. This feature makes node.js highly scalable as it Read more…