...

/

Folder Structure and Library Files

Folder Structure and Library Files

Let’s take a look at some library files and how to set up the folder structure.

The MVC folder structure of our validation application extends the structure of the minimal application by adding a lib folder containing the generic code libraries browserShims.js, errorTypes.js, and util.js.

As a result, we get the following folder structure:

publicLibrary
 css
   main.css
   normalize.min.css
 lib
   browserShims.js
   errorTypes.js
   util.js
 src
   c
   m
   v
 index.html

We discuss the contents of the added files in the following sub-sections.

General utility functions and library files fixes

We add three library files to the lib folder:

...