<commit_before>angular.module('demo', ['fui']).value('fuiOption', {
	paginate: {
		// global settings at here
		zeroStart: false, // boolean
		range: 5, // integer
		ends: 1, // integer
		ellipsis: true, // boolean | string
		prevPage: null, // boolean | string
		nextPage: null, // boolean | string
		firstPage: null, // boolean | string
		lastPage: null, // boolean | string
		adjustLength: true, // boolean
		currentPageEnable: true // boolean
	}
}).controller('DemoController', function($scope) {
	$scope.pick = function(page) {
		alert('page ' + page + ' is picked');
	};
	// local settings at here
	$scope.pageOption = {
		zeroStart: false,
		page: 1,
		totalPage: 24,
		range: 2,
		ends: 2,
		ellipsis: true,
		prevPage: null,
		nextPage: null,
		firstPage: null,
		lastPage: null,
		adjustLength: true,
		currentPageEnable: true
	};
	$scope.list = function(page) {
		// do ajax and then update the current page
		$scope.pageOption.page = page;
	};
	/* 示例 */
	$scope.instancePage = 1;
	$scope.instanceTotalPage = 20;
	$scope.instances = [{
		// default<commit_msg>format<commit_after>angular.module('demo', ['fui']).value('fuiOption', {
	paginate: {
		// global settings at here
		zeroStart: false, // boolean
		range: 5, // integer
		ends: 1, // integer
		ellipsis: true, // boolean | string
		prevPage: null, // boolean | string
		nextPage: null, // boolean | string
		firstPage: null, // boolean | string
		lastPage: null, // boolean | string
		adjustLength: true, // boolean
		currentPageEnable: true // boolean
	}
}).controller('DemoController', function($scope) {
	// local settings at here
	$scope.pageOption = {
		zeroStart: false,
		page: 1,
		totalPage: 24,
		range: 2,
		ends: 2,
		ellipsis: true,
		prevPage: null,
		nextPage: null,
		firstPage: null,
		lastPage: null,
		adjustLength: true,
		currentPageEnable: true
	};
	$scope.list = function(page) {
		// do ajax and then update the current page
		$scope.pageOption.page = page;
	};
	/* 示例 */
	$scope.instancePage = 1;
	$scope.instanceTotalPage = 20;
	$scope.instances = [{
		// default
{'fraction_non_alphanumeric': 0.14813016027197667, 'fraction_numerical': 0.009713453132588635, 'mean_word_length': 3.30062630480167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '703158', 'n_tokens_mistral': 772, 'n_tokens_neox': 694, 'n_words': 189}