fix(deps): Update clang-format to 1.0.14.

This commit is contained in:
Martin Probst 2015-05-21 16:42:19 +02:00 committed by Tobias Bosch
parent e50f537667
commit 15f1eb28a2
15 changed files with 519 additions and 631 deletions

View File

@ -175,9 +175,8 @@ export class Compiler {
var nestedPVPromises = []; var nestedPVPromises = [];
ListWrapper.forEach(this._collectComponentElementBinders(protoViews), (elementBinder) => { ListWrapper.forEach(this._collectComponentElementBinders(protoViews), (elementBinder) => {
var nestedComponent = elementBinder.componentDirective; var nestedComponent = elementBinder.componentDirective;
var elementBinderDone = (nestedPv: AppProtoView) => { var elementBinderDone =
elementBinder.nestedProtoView = nestedPv; (nestedPv: AppProtoView) => { elementBinder.nestedProtoView = nestedPv; };
};
var nestedCall = this._compile(nestedComponent); var nestedCall = this._compile(nestedComponent);
if (PromiseWrapper.isPromise(nestedCall)) { if (PromiseWrapper.isPromise(nestedCall)) {
ListWrapper.push(nestedPVPromises, ListWrapper.push(nestedPVPromises,

View File

@ -38,7 +38,8 @@ export class DynamicComponentLoader {
loadIntoExistingLocation(typeOrBinding, location: ElementRef, loadIntoExistingLocation(typeOrBinding, location: ElementRef,
injector: Injector = null): Promise<ComponentRef> { injector: Injector = null): Promise<ComponentRef> {
var binding = this._getBinding(typeOrBinding); var binding = this._getBinding(typeOrBinding);
return this._compiler.compile(binding.token).then(componentProtoViewRef => { return this._compiler.compile(binding.token)
.then(componentProtoViewRef => {
this._viewManager.createDynamicComponentView(location, componentProtoViewRef, binding, this._viewManager.createDynamicComponentView(location, componentProtoViewRef, binding,
injector); injector);
var component = this._viewManager.getComponent(location); var component = this._viewManager.getComponent(location);
@ -54,14 +55,14 @@ export class DynamicComponentLoader {
*/ */
loadAsRoot(typeOrBinding, overrideSelector = null, loadAsRoot(typeOrBinding, overrideSelector = null,
injector: Injector = null): Promise<ComponentRef> { injector: Injector = null): Promise<ComponentRef> {
return this._compiler.compileInHost(this._getBinding(typeOrBinding)).then(hostProtoViewRef => { return this._compiler.compileInHost(this._getBinding(typeOrBinding))
.then(hostProtoViewRef => {
var hostViewRef = var hostViewRef =
this._viewManager.createRootHostView(hostProtoViewRef, overrideSelector, injector); this._viewManager.createRootHostView(hostProtoViewRef, overrideSelector, injector);
var newLocation = new ElementRef(hostViewRef, 0); var newLocation = new ElementRef(hostViewRef, 0);
var component = this._viewManager.getComponent(newLocation); var component = this._viewManager.getComponent(newLocation);
var dispose = () => { this._viewManager.destroyRootHostView(hostViewRef); var dispose = () => { this._viewManager.destroyRootHostView(hostViewRef); };
};
return new ComponentRef(newLocation, component, dispose); return new ComponentRef(newLocation, component, dispose);
}); });
} }
@ -73,9 +74,10 @@ loadAsRoot(typeOrBinding, overrideSelector = null,
*/ */
loadIntoNewLocation(typeOrBinding, parentComponentLocation: ElementRef, loadIntoNewLocation(typeOrBinding, parentComponentLocation: ElementRef,
injector: Injector = null): Promise<ComponentRef> { injector: Injector = null): Promise<ComponentRef> {
return this._compiler.compileInHost(this._getBinding(typeOrBinding)).then(hostProtoViewRef => { return this._compiler.compileInHost(this._getBinding(typeOrBinding))
var hostViewRef = .then(hostProtoViewRef => {
this._viewManager.createFreeHostView(parentComponentLocation, hostProtoViewRef, injector); var hostViewRef = this._viewManager.createFreeHostView(parentComponentLocation,
hostProtoViewRef, injector);
var newLocation = new ElementRef(hostViewRef, 0); var newLocation = new ElementRef(hostViewRef, 0);
var component = this._viewManager.getComponent(newLocation); var component = this._viewManager.getComponent(newLocation);
@ -95,11 +97,13 @@ loadNextToExistingLocation(typeOrBinding, location: ElementRef,
var binding = this._getBinding(typeOrBinding); var binding = this._getBinding(typeOrBinding);
return this._compiler.compileInHost(binding).then(hostProtoViewRef => { return this._compiler.compileInHost(binding).then(hostProtoViewRef => {
var viewContainer = this._viewManager.getViewContainer(location); var viewContainer = this._viewManager.getViewContainer(location);
var hostViewRef = viewContainer.create(hostProtoViewRef, viewContainer.length, null, injector); var hostViewRef =
viewContainer.create(hostProtoViewRef, viewContainer.length, null, injector);
var newLocation = new ElementRef(hostViewRef, 0); var newLocation = new ElementRef(hostViewRef, 0);
var component = this._viewManager.getComponent(newLocation); var component = this._viewManager.getComponent(newLocation);
var dispose = () => { var index = viewContainer.indexOf(hostViewRef); var dispose = () => {
var index = viewContainer.indexOf(hostViewRef);
viewContainer.remove(index); viewContainer.remove(index);
}; };
return new ComponentRef(newLocation, component, dispose); return new ComponentRef(newLocation, component, dispose);

View File

@ -39,7 +39,8 @@ export class LifeCycle {
constructor(exceptionHandler: ExceptionHandler, changeDetector: ChangeDetector = null, constructor(exceptionHandler: ExceptionHandler, changeDetector: ChangeDetector = null,
enforceNoNewChanges: boolean = false) { enforceNoNewChanges: boolean = false) {
this._errorHandler = (exception, stackTrace) => { exceptionHandler.call(exception, stackTrace); this._errorHandler = (exception, stackTrace) => {
exceptionHandler.call(exception, stackTrace);
throw exception; throw exception;
}; };
this._changeDetector = this._changeDetector =
@ -63,7 +64,8 @@ registerWith(zone: NgZone, changeDetector: ChangeDetector = null) {
* *
* In development mode, `tick()` also performs a second change detection cycle to ensure that no * In development mode, `tick()` also performs a second change detection cycle to ensure that no
* further * further
* changes are detected. If additional changes are picked up during this second cycle, bindings in * changes are detected. If additional changes are picked up during this second cycle, bindings
* in
* the app have * the app have
* side-effects that cannot be resolved in a single change detection pass. In this case, Angular * side-effects that cannot be resolved in a single change detection pass. In this case, Angular
* throws an error, * throws an error,

View File

@ -63,12 +63,9 @@ export class BrowserDomAdapter extends GenericBrowserDomAdapter {
el.addEventListener(evt, listener, false); el.addEventListener(evt, listener, false);
// Needed to follow Dart's subscription semantic, until fix of // Needed to follow Dart's subscription semantic, until fix of
// https://code.google.com/p/dart/issues/detail?id=17406 // https://code.google.com/p/dart/issues/detail?id=17406
return () => { el.removeEventListener(evt, listener, false); return () => { el.removeEventListener(evt, listener, false); };
};
}
dispatchEvent(el, evt) {
el.dispatchEvent(evt);
} }
dispatchEvent(el, evt) { el.dispatchEvent(evt); }
createMouseEvent(eventType: string): MouseEvent { createMouseEvent(eventType: string): MouseEvent {
var evt: MouseEvent = document.createEvent('MouseEvent'); var evt: MouseEvent = document.createEvent('MouseEvent');
evt.initEvent(eventType, true, true); evt.initEvent(eventType, true, true);
@ -83,21 +80,11 @@ preventDefault(evt: Event) {
evt.preventDefault(); evt.preventDefault();
evt.returnValue = false; evt.returnValue = false;
} }
getInnerHTML(el) { getInnerHTML(el) { return el.innerHTML; }
return el.innerHTML; getOuterHTML(el) { return el.outerHTML; }
} nodeName(node: Node): string { return node.nodeName; }
getOuterHTML(el) { nodeValue(node: Node): string { return node.nodeValue; }
return el.outerHTML; type(node: HTMLInputElement): string { return node.type; }
}
nodeName(node: Node): string {
return node.nodeName;
}
nodeValue(node: Node): string {
return node.nodeValue;
}
type(node: HTMLInputElement): string {
return node.type;
}
content(node: Node): Node { content(node: Node): Node {
if (this.hasProperty(node, "content")) { if (this.hasProperty(node, "content")) {
return (<any>node).content; return (<any>node).content;
@ -105,18 +92,10 @@ content(node: Node): Node {
return node; return node;
} }
} }
firstChild(el): Node { firstChild(el): Node { return el.firstChild; }
return el.firstChild; nextSibling(el): Node { return el.nextSibling; }
} parentElement(el) { return el.parentElement; }
nextSibling(el): Node { childNodes(el): List<Node> { return el.childNodes; }
return el.nextSibling;
}
parentElement(el) {
return el.parentElement;
}
childNodes(el): List<Node> {
return el.childNodes;
}
childNodesAsList(el): List<any> { childNodesAsList(el): List<any> {
var childNodes = el.childNodes; var childNodes = el.childNodes;
var res = ListWrapper.createFixedSize(childNodes.length); var res = ListWrapper.createFixedSize(childNodes.length);
@ -130,62 +109,34 @@ clearNodes(el) {
this.remove(el.childNodes[i]); this.remove(el.childNodes[i]);
} }
} }
appendChild(el, node) { appendChild(el, node) { el.appendChild(node); }
el.appendChild(node); removeChild(el, node) { el.removeChild(node); }
} replaceChild(el: Node, newChild, oldChild) { el.replaceChild(newChild, oldChild); }
removeChild(el, node) {
el.removeChild(node);
}
replaceChild(el: Node, newChild, oldChild) {
el.replaceChild(newChild, oldChild);
}
remove(el) { remove(el) {
var parent = el.parentNode; var parent = el.parentNode;
parent.removeChild(el); parent.removeChild(el);
return el; return el;
} }
insertBefore(el, node) { insertBefore(el, node) { el.parentNode.insertBefore(node, el); }
el.parentNode.insertBefore(node, el);
}
insertAllBefore(el, nodes) { insertAllBefore(el, nodes) {
ListWrapper.forEach(nodes, (n) => { el.parentNode.insertBefore(n, el); }); ListWrapper.forEach(nodes, (n) => { el.parentNode.insertBefore(n, el); });
} }
insertAfter(el, node) { insertAfter(el, node) { el.parentNode.insertBefore(node, el.nextSibling); }
el.parentNode.insertBefore(node, el.nextSibling); setInnerHTML(el, value) { el.innerHTML = value; }
} getText(el) { return el.textContent; }
setInnerHTML(el, value) {
el.innerHTML = value;
}
getText(el) {
return el.textContent;
}
// TODO(vicb): removed Element type because it does not support StyleElement // TODO(vicb): removed Element type because it does not support StyleElement
setText(el, value: string) { setText(el, value: string) { el.textContent = value; }
el.textContent = value; getValue(el) { return el.value; }
} setValue(el, value: string) { el.value = value; }
getValue(el) { getChecked(el) { return el.checked; }
return el.value; setChecked(el, value: boolean) { el.checked = value; }
}
setValue(el, value: string) {
el.value = value;
}
getChecked(el) {
return el.checked;
}
setChecked(el, value: boolean) {
el.checked = value;
}
createTemplate(html): HTMLElement { createTemplate(html): HTMLElement {
var t = document.createElement('template'); var t = document.createElement('template');
t.innerHTML = html; t.innerHTML = html;
return t; return t;
} }
createElement(tagName, doc = document): HTMLElement { createElement(tagName, doc = document): HTMLElement { return doc.createElement(tagName); }
return doc.createElement(tagName); createTextNode(text: string, doc = document): Text { return doc.createTextNode(text); }
}
createTextNode(text: string, doc = document): Text {
return doc.createTextNode(text);
}
createScriptTag(attrName: string, attrValue: string, doc = document): HTMLScriptElement { createScriptTag(attrName: string, attrValue: string, doc = document): HTMLScriptElement {
var el = <HTMLScriptElement>doc.createElement('SCRIPT'); var el = <HTMLScriptElement>doc.createElement('SCRIPT');
el.setAttribute(attrName, attrValue); el.setAttribute(attrName, attrValue);
@ -196,51 +147,25 @@ createStyleElement(css: string, doc = document): HTMLStyleElement {
this.appendChild(style, this.createTextNode(css)); this.appendChild(style, this.createTextNode(css));
return style; return style;
} }
createShadowRoot(el: HTMLElement): DocumentFragment { createShadowRoot(el: HTMLElement): DocumentFragment { return (<any>el).createShadowRoot(); }
return (<any>el).createShadowRoot(); getShadowRoot(el: HTMLElement): DocumentFragment { return (<any>el).shadowRoot; }
} getHost(el: HTMLElement): HTMLElement { return (<any>el).host; }
getShadowRoot(el: HTMLElement): DocumentFragment { clone(node: Node) { return node.cloneNode(true); }
return (<any>el).shadowRoot; hasProperty(element, name: string) { return name in element; }
} getElementsByClassName(element, name: string) { return element.getElementsByClassName(name); }
getHost(el: HTMLElement): HTMLElement { getElementsByTagName(element, name: string) { return element.getElementsByTagName(name); }
return (<any>el).host;
}
clone(node: Node) {
return node.cloneNode(true);
}
hasProperty(element, name: string) {
return name in element;
}
getElementsByClassName(element, name: string) {
return element.getElementsByClassName(name);
}
getElementsByTagName(element, name: string) {
return element.getElementsByTagName(name);
}
classList(element): List<any> { classList(element): List<any> {
return <List<any>>Array.prototype.slice.call(element.classList, 0); return <List<any>>Array.prototype.slice.call(element.classList, 0);
} }
addClass(element, classname: string) { addClass(element, classname: string) { element.classList.add(classname); }
element.classList.add(classname); removeClass(element, classname: string) { element.classList.remove(classname); }
} hasClass(element, classname: string) { return element.classList.contains(classname); }
removeClass(element, classname: string) {
element.classList.remove(classname);
}
hasClass(element, classname: string) {
return element.classList.contains(classname);
}
setStyle(element, stylename: string, stylevalue: string) { setStyle(element, stylename: string, stylevalue: string) {
element.style[stylename] = stylevalue; element.style[stylename] = stylevalue;
} }
removeStyle(element, stylename: string) { removeStyle(element, stylename: string) { element.style[stylename] = null; }
element.style[stylename] = null; getStyle(element, stylename: string) { return element.style[stylename]; }
} tagName(element): string { return element.tagName; }
getStyle(element, stylename: string) {
return element.style[stylename];
}
tagName(element): string {
return element.tagName;
}
attributeMap(element) { attributeMap(element) {
var res = MapWrapper.create(); var res = MapWrapper.create();
var elAttrs = element.attributes; var elAttrs = element.attributes;
@ -250,27 +175,13 @@ attributeMap(element) {
} }
return res; return res;
} }
hasAttribute(element, attribute: string) { hasAttribute(element, attribute: string) { return element.hasAttribute(attribute); }
return element.hasAttribute(attribute); getAttribute(element, attribute: string) { return element.getAttribute(attribute); }
} setAttribute(element, name: string, value: string) { element.setAttribute(name, value); }
getAttribute(element, attribute: string) { removeAttribute(element, attribute: string) { return element.removeAttribute(attribute); }
return element.getAttribute(attribute); templateAwareRoot(el) { return this.isTemplateElement(el) ? this.content(el) : el; }
} createHtmlDocument() { return document.implementation.createHTMLDocument('fakeTitle'); }
setAttribute(element, name: string, value: string) { defaultDoc() { return document; }
element.setAttribute(name, value);
}
removeAttribute(element, attribute: string) {
return element.removeAttribute(attribute);
}
templateAwareRoot(el) {
return this.isTemplateElement(el) ? this.content(el) : el;
}
createHtmlDocument() {
return document.implementation.createHTMLDocument('fakeTitle');
}
defaultDoc() {
return document;
}
getBoundingClientRect(el) { getBoundingClientRect(el) {
try { try {
return el.getBoundingClientRect(); return el.getBoundingClientRect();
@ -278,12 +189,8 @@ getBoundingClientRect(el) {
return {top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0}; return {top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0};
} }
} }
getTitle(): string { getTitle(): string { return document.title; }
return document.title; setTitle(newTitle: string) { document.title = newTitle || ''; }
}
setTitle(newTitle: string) {
document.title = newTitle || '';
}
elementMatches(n, selector: string): boolean { elementMatches(n, selector: string): boolean {
return n instanceof HTMLElement && n.matches ? n.matches(selector) : return n instanceof HTMLElement && n.matches ? n.matches(selector) :
n.msMatchesSelector(selector); n.msMatchesSelector(selector);
@ -291,21 +198,11 @@ elementMatches(n, selector: string): boolean {
isTemplateElement(el: any): boolean { isTemplateElement(el: any): boolean {
return el instanceof HTMLElement && el.nodeName == "TEMPLATE"; return el instanceof HTMLElement && el.nodeName == "TEMPLATE";
} }
isTextNode(node: Node): boolean { isTextNode(node: Node): boolean { return node.nodeType === Node.TEXT_NODE; }
return node.nodeType === Node.TEXT_NODE; isCommentNode(node: Node): boolean { return node.nodeType === Node.COMMENT_NODE; }
} isElementNode(node: Node): boolean { return node.nodeType === Node.ELEMENT_NODE; }
isCommentNode(node: Node): boolean { hasShadowRoot(node): boolean { return node instanceof HTMLElement && isPresent(node.shadowRoot); }
return node.nodeType === Node.COMMENT_NODE; isShadowRoot(node): boolean { return node instanceof DocumentFragment; }
}
isElementNode(node: Node): boolean {
return node.nodeType === Node.ELEMENT_NODE;
}
hasShadowRoot(node): boolean {
return node instanceof HTMLElement && isPresent(node.shadowRoot);
}
isShadowRoot(node): boolean {
return node instanceof DocumentFragment;
}
importIntoDoc(node: Node) { importIntoDoc(node: Node) {
var toImport = node; var toImport = node;
if (this.isTemplateElement(node)) { if (this.isTemplateElement(node)) {
@ -313,21 +210,11 @@ importIntoDoc(node: Node) {
} }
return document.importNode(toImport, true); return document.importNode(toImport, true);
} }
isPageRule(rule): boolean { isPageRule(rule): boolean { return rule.type === CSSRule.PAGE_RULE; }
return rule.type === CSSRule.PAGE_RULE; isStyleRule(rule): boolean { return rule.type === CSSRule.STYLE_RULE; }
} isMediaRule(rule): boolean { return rule.type === CSSRule.MEDIA_RULE; }
isStyleRule(rule): boolean { isKeyframesRule(rule): boolean { return rule.type === CSSRule.KEYFRAMES_RULE; }
return rule.type === CSSRule.STYLE_RULE; getHref(el: Element): string { return (<any>el).href; }
}
isMediaRule(rule): boolean {
return rule.type === CSSRule.MEDIA_RULE;
}
isKeyframesRule(rule): boolean {
return rule.type === CSSRule.KEYFRAMES_RULE;
}
getHref(el: Element): string {
return (<any>el).href;
}
getEventKey(event): string { getEventKey(event): string {
var key = event.key; var key = event.key;
if (isBlank(key)) { if (isBlank(key)) {
@ -363,18 +250,10 @@ getGlobalEventTarget(target: string): EventTarget {
return document.body; return document.body;
} }
} }
getHistory() { getHistory() { return window.history; }
return window.history; getLocation() { return window.location; }
} getBaseHref() { return relativePath(document.baseURI); }
getLocation() { getUserAgent(): string { return window.navigator.userAgent; }
return window.location;
}
getBaseHref() {
return relativePath(document.baseURI);
}
getUserAgent(): string {
return window.navigator.userAgent;
}
} }
// based on urlUtils.js in AngularJS 1 // based on urlUtils.js in AngularJS 1

View File

@ -36,8 +36,9 @@ export class CssSelector {
if (isPresent(cssSel.notSelector) && isBlank(cssSel.element) && if (isPresent(cssSel.notSelector) && isBlank(cssSel.element) &&
ListWrapper.isEmpty(cssSel.classNames) && ListWrapper.isEmpty(cssSel.attrs)) { ListWrapper.isEmpty(cssSel.classNames) && ListWrapper.isEmpty(cssSel.attrs)) {
cssSel.element = "*"; cssSel.element = "*";
} ListWrapper.push(res, cssSel);
} }
ListWrapper.push(res, cssSel);
};
var cssSelector = new CssSelector(); var cssSelector = new CssSelector();
var matcher = RegExpWrapper.matcher(_SELECTOR_REGEXP, selector); var matcher = RegExpWrapper.matcher(_SELECTOR_REGEXP, selector);
var match; var match;
@ -97,9 +98,7 @@ addAttribute(name: string, value: string = _EMPTY_ATTR_VALUE) {
ListWrapper.push(this.attrs, value); ListWrapper.push(this.attrs, value);
} }
addClassName(name: string) { addClassName(name: string) { ListWrapper.push(this.classNames, name.toLowerCase()); }
ListWrapper.push(this.classNames, name.toLowerCase());
}
toString(): string { toString(): string {
var res = ''; var res = '';

View File

@ -96,7 +96,11 @@ export class DomEventsPlugin extends EventManagerPlugin {
} }
static sameElementCallback(element, handler, zone) { static sameElementCallback(element, handler, zone) {
return (event) => { if (event.target === element) { zone.run(() => handler(event)); } }; return (event) => {
if (event.target === element) {
zone.run(() => handler(event));
}
};
} }
static bubbleCallback(element, handler, zone) { static bubbleCallback(element, handler, zone) {

View File

@ -89,7 +89,8 @@ export class KeyEventsPlugin extends EventManagerPlugin {
} }
static eventCallback(element, shouldSupportBubble, fullKey, handler, zone) { static eventCallback(element, shouldSupportBubble, fullKey, handler, zone) {
return (event) => { var correctElement = shouldSupportBubble || event.target === element; return (event) => {
var correctElement = shouldSupportBubble || event.target === element;
if (correctElement && KeyEventsPlugin.getEventFullKey(event) === fullKey) { if (correctElement && KeyEventsPlugin.getEventFullKey(event) === fullKey) {
zone.run(() => handler(event)); zone.run(() => handler(event));
} }

View File

@ -331,7 +331,9 @@ export class SpyObject {
} }
function elementText(n) { function elementText(n) {
var hasNodes = (n) => { var children = DOM.childNodes(n); var hasNodes = (n) =>
{
var children = DOM.childNodes(n);
return children && children.length > 0; return children && children.length > 0;
} }

View File

@ -16,9 +16,7 @@ export class Log {
} }
} }
result(): string { result(): string { return ListWrapper.join(this._result, "; "); }
return ListWrapper.join(this._result, "; ");
}
} }
export function viewRootNodes(view): List</*node*/ any> { export function viewRootNodes(view): List</*node*/ any> {

View File

@ -3934,7 +3934,7 @@
} }
}, },
"gulp-clang-format": { "gulp-clang-format": {
"version": "1.0.12", "version": "1.0.13",
"dependencies": { "dependencies": {
"gulp-util": { "gulp-util": {
"version": "3.0.4", "version": "3.0.4",
@ -4112,7 +4112,7 @@
} }
}, },
"clang-format": { "clang-format": {
"version": "1.0.12" "version": "1.0.14"
} }
} }
}, },

12
npm-shrinkwrap.json generated
View File

@ -6073,9 +6073,9 @@
} }
}, },
"gulp-clang-format": { "gulp-clang-format": {
"version": "1.0.12", "version": "1.0.13",
"from": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.12.tgz", "from": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.13.tgz",
"resolved": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.12.tgz", "resolved": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.13.tgz",
"dependencies": { "dependencies": {
"gulp-util": { "gulp-util": {
"version": "3.0.4", "version": "3.0.4",
@ -6351,9 +6351,9 @@
} }
}, },
"clang-format": { "clang-format": {
"version": "1.0.12", "version": "1.0.14",
"from": "https://registry.npmjs.org/clang-format/-/clang-format-1.0.12.tgz", "from": "https://registry.npmjs.org/clang-format/-/clang-format-1.0.14.tgz",
"resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.0.12.tgz" "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.0.14.tgz"
} }
} }
}, },

View File

@ -64,7 +64,7 @@
"gulp": "^3.8.8", "gulp": "^3.8.8",
"gulp-autoprefixer": "^2.1.0", "gulp-autoprefixer": "^2.1.0",
"gulp-changed": "^1.0.0", "gulp-changed": "^1.0.0",
"gulp-clang-format": "^1.0.12", "gulp-clang-format": "^1.0.13",
"gulp-concat": "^2.5.2", "gulp-concat": "^2.5.2",
"gulp-connect": "~1.0.5", "gulp-connect": "~1.0.5",
"gulp-load-plugins": "^0.7.1", "gulp-load-plugins": "^0.7.1",