module - What program does apple uses to create modular javascript files -


when looked @ new macbook website apple saw nice smooth scrolling effect on wireless page. started digging in javascript , found uncompressed javascript file , blown away. (https://www.apple.com/v/macbook/a/scripts/wireless.built.js)

there many comments, , follow thinking when created script. tried create javascript file on own, in less 5 minutes figured out impossible keep nice looking , understandable. question is: program apple use create kind of javascript files? not default code editor, program supports built file. there ones out there, have libraries have follow, 1 plain javascript , nothing more.

there's no tool magically make code nice.

apple has strict code style guide requires developers show discipline when writing code, or code rejected entering repo.

it's nothing special really, proper developer discipline.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -