<commit_before>#ChocolateChip - A Compact Framework for Mobile Web Apps

###ChocolateChip-UI has been acquired by [Sourcebits Inc](http://www.sourcebits.com).

##ChocolateChip-UI

ChocolateChip-UI is a framework for making mobile Web apps. It has three components: semantic HTML5 markup, CSS and JavaScript. To successfully make an app with ChocolateChip-UI you'll need at least moderate experience working with JavaScript. This is so you can use templates, make Ajax requests and handle callbacks for user interaction. If this is beyond your current skills, consider getting someone with Web development experience to help you. ChocolateChip-UI is built on jQuery, so you will need a compatible version of it to work with ChocolateChip-UI.

Please visit [ChocolateChip-UI's Website](http://chocolatechip-ui.com) for documentation and tutorials. This project includes examples for iOS, Android and Windows Phone 8 to help you get going.

##Building 

ChocolateChip-UI uses Gruntjs to build. This is a Node package, so you'll first need to have [Node installed](http://http://nodejs.org). After installing Nodejs, or if you already have it installed, on Mac OS X use the terminal to cd to the directory. On Windows you can use the Windows command prompt to do this. Once you are in the folder, run the following command in your terminal: 
    npm install -g grunt-cli

On Mac OS X, you'll need to run the command with **sudo** to avoid installation errors: 

    sudo npm install -g grunt-cli

Enter your password when it requests. After you should see a number of Nodejs modules being installed in a folder called **node\_modules**. You do not need **node\_modules** in your final project. The node modules are there to enable the build process with Gruntjs.

Now that you have the node modules install, you can just type **grunt** in the terminal and hit return/enter. This will kick off the build process, which will produce the following directories:


    chui
    data
    demo
    examples-android
    examples-ios
    examples-win
    images
    node_modules

 
 If you're starting a new project, you only need the files in the **chui** folder. If you want to create a custom build, then just run **npm install**, then any of the custom build patterns listed below.

By default the grunt script builds everything into the same directory as the repository. You can change this so that it builds to a project directory of your choice. Just update the value of projectPath in the package.json file. By default, the value is empty, so it builds into the same directory.  Possible values on a Mac are, assuming your username is 'joe':

    // Build the project in a folder called 'MyProject' on your desktop:
    projectPath: "/Users/joe/Desktop/MyProject/"

For Windows, you would do this:
<commit_msg>Update to README.<commit_after>#ChocolateChip - A Compact Framework for Mobile Web Apps

###ChocolateChip-UI has been acquired by [Sourcebits Inc](http://www.sourcebits.com).

##ChocolateChip-UI

ChocolateChip-UI is a framework for making mobile Web apps. It has three components: semantic HTML5 markup, CSS and JavaScript. To successfully make an app with ChocolateChip-UI you'll need at least moderate experience working with JavaScript. This is so you can use templates, make Ajax requests and handle callbacks for user interaction. If this is beyond your current skills, consider getting someone with Web development experience to help you. ChocolateChip-UI is built on jQuery, so you will need a compatible version of it to work with ChocolateChip-UI.

Please visit [ChocolateChip-UI's Website](http://chocolatechip-ui.com) for documentation and tutorials. This project includes examples for iOS, Android and Windows Phone 8 to help you get going.

##Building 

ChocolateChip-UI uses Gruntjs to build. This is a Node package, so you'll first need to have [Node installed](http://http://nodejs.org). After installing Nodejs, or if you already have it installed, on Mac OS X use the terminal to cd to the directory. On Windows you can use the Windows command prompt to do this. Once you are in the folder, run the following command in your terminal: 
    npm install -g grunt-cli

On Mac OS X, you'll need to run the command with **sudo** to avoid installation errors: 

    sudo npm install -g grunt-cli

Enter your password when it requests. After you should see a number of Nodejs modules being installed in a folder called **node\_modules**. You do not need **node\_modules** in your final project. The node modules are there to enable the build process with Gruntjs.

Now that you have the node modules install, you can just type **grunt** in the terminal and hit return/enter. This will kick off the build process, which will produce the following directories:


    chui/
    data/
    demo/
    examples-android/
    examples-ios/
    examples-win/
    images/
    node_modules/

 
 If you're starting a new project, you only need the files in the **chui** folder. If you want to create a custom build, then just run **npm install**, then any of the custom build patterns listed below.

By default the grunt script builds everything into the same directory as the repository. You can change this so that it builds to a project directory of your choice. Just update the value of projectPath in the package.json file. By default, the value is empty, so it builds into the same directory.  Possible values on a Mac are, assuming your username is 'joe':

    // Build the project in a folder called 'MyProject' on your desktop:
    projectPath: "/Users/joe/Desktop/MyProject/"

For Windows, you would do this:

{'fraction_non_alphanumeric': 0.056029882604055496, 'fraction_numerical': 0.000711490572749911, 'mean_word_length': 4.002669039145908, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5462184', 'n_tokens_mistral': 1432, 'n_tokens_neox': 1345, 'n_words': 840}