<commit_before><!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Views Test</title>

<!-- libraries -->
<script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="lib/json-template.js" type="text/javascript"></script>
<script src="lib/iscroll.js" type="text/javascript"></script>

<!-- orangeui -->
<script src="src/oop.js" type="text/javascript"></script>
<script src="src/commons.js" type="text/javascript"></script>
<script src="src/ui.js" type="text/javascript"></script>
<script src="src/ios.js" type="text/javascript"></script>

<!-- iOS meta rules -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">

<!-- viewport rules -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">

<!-- stylesheets -->
<link type="text/css" rel="stylesheet" href="lib/reset.css" />
<link type="text/css" rel="stylesheet" href="src/ios.css" />

<script type="text/javascript">

Orange.add('test', function(O) {

	O.namespace('Test');
	
	O.Test.TestNavigationView = O.View.extend(O.iOS.UINavigationView, {
	
		type: 'test-navigation-view',
	
		initialize: function(parent, target) {
			this._super(parent, target);
		},
	
		onLoad: function() {
			this._super();
			this.target.on('touchend', $.proxy(this.onClick, this));
			this.target.on('click', $.proxy(this.onClick, this));
			this.target.on('touchstart', $.proxy(this.onTouchStart, this));
			this.target.on('touchend', $.proxy(this.onTouchEnd, this));
			
			this.getView('fourth').on('click', $.proxy(function() {
				this.popView();
			}, this));
			
			var contacts = O.Model.Contact.get({ userId: 'kevin' }); // returns a collection
			var user = O.Model.User.get('kevin'); // returns a item by id
			
			// subscribe to any model changes
			O.Mode.Contact.on('change', function(e) {
				// e.data is data that changed
				// do something
			});
			
			// subscribes to specific collection changes
			contacts.on('change', function(e) {
				// do something
			});
			
			// subscribes to specific item changes
			user.on('change', function(e) {
				// do something
			});
			
			console.log(O.Browser.browser + ' ' + O.Browser.os + ' ' + O.Browser.version);
		},
		
		onClick: function(e) {
			if ($(e.target).hasClass('right') && $(e.target).hasClass('one')) {<commit_msg>Fixed Bug<commit_after><!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Views Test</title>

<!-- libraries -->
<script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="lib/json-template.js" type="text/javascript"></script>
<script src="lib/iscroll.js" type="text/javascript"></script>

<!-- orangeui -->
<script src="src/oop.js" type="text/javascript"></script>
<script src="src/commons.js" type="text/javascript"></script>
<script src="src/ui.js" type="text/javascript"></script>
<script src="src/ios.js" type="text/javascript"></script>

<!-- iOS meta rules -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">

<!-- viewport rules -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">

<!-- stylesheets -->
<link type="text/css" rel="stylesheet" href="lib/reset.css" />
<link type="text/css" rel="stylesheet" href="src/ios.css" />

<script type="text/javascript">

Orange.add('test', function(O) {

	O.namespace('Test');
	
	O.Test.TestNavigationView = O.View.extend(O.iOS.UINavigationView, {
	
		type: 'test-navigation-view',
	
		initialize: function(parent, target) {
			this._super(parent, target);
		},
	
		onLoad: function() {
			this._super();
			this.target.on('touchend', $.proxy(this.onClick, this));
			this.target.on('click', $.proxy(this.onClick, this));
			this.target.on('touchstart', $.proxy(this.onTouchStart, this));
			this.target.on('touchend', $.proxy(this.onTouchEnd, this));
			
			this.getView('fourth').on('click', $.proxy(function() {
				this.popView();
			}, this));
			
//			var contacts = O.Model.Contact.get({ userId: 'kevin' }); // returns a collection
//			var user = O.Model.User.get('kevin'); // returns a item by id
			
			// subscribe to any model changes
//			O.Mode.Contact.on('change', function(e) {
				// e.data is data that changed
				// do something
//			});
//			
			// subscribes to specific collection changes
//			contacts.on('change', function(e) {
				// do something
//			});
//			
			// subscribes to specific item changes
//			user.on('change', function(e) {
				// do something
//			});
			
			console.log(O.Browser.browser + ' ' + O.Browser.os + ' ' + O.Browser.version);
		},
		
		onClick: function(e) {
			if ($(e.target).hasClass('right') && $(e.target).hasClass('one')) {
{'fraction_non_alphanumeric': 0.2108533554266777, 'fraction_numerical': 0.004556752278376139, 'mean_word_length': 3.8097609561752988, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2024980', 'n_tokens_mistral': 1816, 'n_tokens_neox': 1627, 'n_words': 295}