GRAYBYTE WORDPRESS FILE MANAGER4427

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/public_html/Barga/assets/js/bootstrap/grunt/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/public_html/Barga/assets/js/bootstrap/grunt//bs-glyphicons-data-generator.js
/*!
 * Bootstrap Grunt task for Glyphicons data generation
 * http://getbootstrap.com
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

'use strict';

var fs = require('fs');

module.exports = function generateGlyphiconsData(grunt) {
  // Pass encoding, utf8, so `readFileSync` will return a string instead of a
  // buffer
  var glyphiconsFile = fs.readFileSync('less/glyphicons.less', 'utf8');
  var glyphiconsLines = glyphiconsFile.split('\n');

  // Use any line that starts with ".glyphicon-" and capture the class name
  var iconClassName = /^\.(glyphicon-[a-zA-Z0-9-]+)/;
  var glyphiconsData = '# This file is generated via Grunt task. **Do not edit directly.**\n' +
                       '# See the \'build-glyphicons-data\' task in Gruntfile.js.\n\n';
  var glyphiconsYml = 'docs/_data/glyphicons.yml';
  for (var i = 0, len = glyphiconsLines.length; i < len; i++) {
    var match = glyphiconsLines[i].match(iconClassName);

    if (match !== null) {
      glyphiconsData += '- ' + match[1] + '\n';
    }
  }

  // Create the `_data` directory if it doesn't already exist
  if (!fs.existsSync('docs/_data')) {
    fs.mkdirSync('docs/_data');
  }

  try {
    fs.writeFileSync(glyphiconsYml, glyphiconsData);
  } catch (err) {
    grunt.fail.warn(err);
  }
  grunt.log.writeln('File ' + glyphiconsYml.cyan + ' created.');
};

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 27 2024 00:19:25
giriqfky / giriqfky
0755
.jshintrc
0.116 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
bs-commonjs-generator.js
0.967 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
bs-glyphicons-data-generator.js
1.372 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
bs-lessdoc-parser.js
5.933 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
bs-raw-files-generator.js
1.317 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
change-version.js
2.841 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
configBridge.json
1.362 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
npm-shrinkwrap.json
91.432 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
sauce_browsers.yml
1.405 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF