What is the main difference between require() and define() function in dojo and when would we use either?

require and define are part of the asynchronous module definition (AMD) API. You use define to define a module that can be consumed by other code. Generally, define will be used in a javascript file. The javascript file is defining a module. All Dojo files use define. You use require when you are not defining … Read more

Emulator: WARNING: HAXM 6.0.5 is installed. Please install HAXM >= 6.2.1 to fix compatibility issues on Mac

Navigate to [Android SDK Folder] –> Extra –> Intel –> Hardware_Accelerated_Execution_Manager and double click on HAXM installer intelhaxm-android.exe (on Mac IntelHAXM_6.2.1.dmg) and install it manually. If you do not have latest version of HAXM then you can open sdk manager in android studio and download it. Although, this should be installed automatically when you install … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)