Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-jsdoc - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

angular-template/js/angular.min.js

17

angular-template/publish.js

@@ -87,3 +87,3 @@ /*global env: true */

var layoutPath = path.join(templatePath, 'html', 'layout.html');
var html = angularTemplate(layoutPath, data, {jsMode:false, prefix:'ng'});
var html = angularTemplate(layoutPath, data);
fs.writeFileSync(filepath, html, 'utf8');

@@ -99,5 +99,2 @@ };

sourceCode = sourceCode.replace(/</g,"&lt;");
var lineNumbers = sourceCode.split("\n").map(function(el,i) {
return i+1;
}); //jshint ignore:line
var data = {

@@ -108,6 +105,6 @@ path: source.path,

basePath: __dirname,
title: "Source:"+source.path.replace(/^.*\//,'')
title: "Source:"+source.path.replace(/^.*[\/\\]/,'')
};
var outputPath = path.join(outdir, "source", jsDoc);
var html = angularTemplate(layoutPath, data, {jsMode:false, prefix: 'ng'});
var html = angularTemplate(layoutPath, data);
fs.writeFileSync(outputPath, html, 'utf8');

@@ -176,11 +173,11 @@ }

var layoutPath = path.join(templatePath, 'html', 'layout.html');
var data = {
nav: nav,
readme: opts.readme,
var readmeData = {
nav: nav,
readme: opts.readme,
basePath: __dirname,
title: "Index"
};
var html = angularTemplate(layoutPath, data, {jsMode:false, prefix: 'ng'});
var html = angularTemplate(layoutPath, readmeData);
fs.writeFileSync(path.join(outdir, 'index.html'), html, 'utf8');
}
};

@@ -10,12 +10,2 @@ /*global env: true */

var helper = require('jsdoc/util/templateHelper');
//helper.toTutorial(tutorial, null, options)
//helper.getAncestorLinks(data, docket)
//helper.createLink(doclet)
//helper.getAttribs(data)
//helper.getUniqueFilename(str)
//helper.htmlsafe(str)
//helper.getAncestors(data, doclet)
//helper.prune(data) //remove members that won't be in documentation
//helper.resolveAuthorLinks;
//helper.scopeToPunc;

@@ -38,3 +28,3 @@ var templatePath;

caption: caption || '',
code: code || example
code: (code || example).replace(/</g,'&lt;')
};

@@ -113,5 +103,2 @@ });

sourceCode = sourceCode.replace(/</g,"&lt;");
var lineNumbers = sourceCode.split("\n").map(function(el,i) {
return i+1;
}); //jshint ignore:line
var data = {

@@ -122,3 +109,3 @@ path: source.path,

basePath: __dirname,
title: "Source:"+source.path.replace(/^.*\//,'')
title: "Source:"+source.path.replace(/^.*[\/\\]/,'')
};

@@ -147,3 +134,3 @@ var outputPath = path.join(outdir, "source", jsDoc);

doclet.jsDocUrl = helper.createLink(doclet);
if (doclet.meta) {
if (doclet.meta && doclet.kind == 'class') {
var sourceHtml = doclet.jsDocUrl.replace(/#.*$/,'');

@@ -192,11 +179,11 @@ doclet.sourceUrl = 'source/'+sourceHtml+"#line"+doclet.meta.lineno;

var layoutHtml = require('fs').readFileSync(layoutPath, 'utf8');
var data = {
nav: nav,
readme: opts.readme,
var readmeData = {
nav: nav,
readme: opts.readme,
basePath: __dirname,
title: "Index"
};
var html = jsTemplate(layoutHtml, data);
var html = jsTemplate(layoutHtml, readmeData);
fs.writeFileSync(path.join(outdir, 'index.html'), html, 'utf8');
}
};
{
"name": "angular-jsdoc",
"version": "1.1.5",
"version": "1.1.6",
"description": "JsDoc Plugin and Template for AngularJs",

@@ -26,3 +26,2 @@ "main": "index.js",

"devDependencies": {
"angular-template": "^2.0.3",
"gulp": "~3.8.5",

@@ -29,0 +28,0 @@ "gulp-bump": "~0.1.10",

@@ -75,3 +75,3 @@ Angular-JSDoc

var angularJsdoc = require('angualr-jsdoc');
var angularJsdoc = require('angular-jsdoc');
angularJsdoc(['my-source1', 'my-source2']);

@@ -78,0 +78,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc