Posts by LGama • 175 points
7 posts
-
5
votes2
answers1242
viewsA: How to organize the codes in Angularjs?
You can also use Browserify + Grunt or Gulp to create a Bundle. http://dontkry.com/posts/code/angular-browserify-grunt.html…
-
1
votes1
answer704
viewsA: Doubts about how Requirejs works
Require is a function builtin Node that serves to include modules that are in other Js files. It works by reading the file passed in parameter, running and then returning the object Exports Source:…
-
-2
votes5
answers18846
viewsA: What is a scripting language?
Scripting languages are those in which the interpreter reads the source code and generates a "bytecode" that is then executed by the compiler, i.e., bytecode is a middle ground between the source…
characteristic-languageanswered LGama 175 -
1
votes1
answer239
viewsA: Do not run autoplay video as bg on mobile
Use CSS Media types to make a difference between mobile and desktop. remove the loop directive from the tag and use Javascript (jQuery for ease) to place the attribute when needed. Examples: Html5…
-
0
votes3
answers1028
views -
0
votes2
answers282
viewsA: Word selection for phrase formation
Use angular.js to create a Binding between the Ivs and templates. Use ng-click to execute selection methods located in the controller.
-
0
votes3
answers1694
viewsA: Script is not working in IE
It works ? jQuery("#CentroCusto_new option").on('click', function (event) { event.preventDefault(); alert('oi'); this.selected = !this.selected; return false; }); or something like that ? $(…