Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
Updated dist
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Jun 24, 2015
1 parent 80be7a8 commit c11ec48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions dist/autolayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @copyright Gloey Apps, 2015
*
* @library autolayout.js
* @version 0.1.0
* @generated 22-06-2015
* @version 0.2.0
* @generated 24-06-2015
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.AutoLayout = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
/**
Expand All @@ -35,7 +35,7 @@ var Attribute = {
CENTERY: 'centerY',
/*LEADING: 'leading',
TRAILING: 'trailing'*/
// Extended format attributes
/** Used by the extended VFL syntax. */
ZINDEX: 'zIndex'
};
exports['default'] = Attribute;
Expand Down Expand Up @@ -261,7 +261,14 @@ var SubView = (function () {
/**
* Intrinsic width of the sub-view.
*
* Use this property to explicitely set the width of the sub-view.
* Use this property to explicitely set the width of the sub-view, e.g.:
* ```javascript
* var view = new AutoLayout.View(AutoLayout.VisualFormat.parse('|[child1][child2]|'), {
* width: 500
* });
* view.subViews.child1.intrinsicWidth = 100;
* console.log('child2 width: ' + view.subViews.child2.width); // 400
* ```
*
* @type {Number}
*/
Expand All @@ -285,7 +292,7 @@ var SubView = (function () {
/**
* Intrinsic height of the sub-view.
*
* Use this property to explicitely set the width of the sub-view.
* See `intrinsicWidth`.
*
* @type {Number}
*/
Expand Down
Loading

0 comments on commit c11ec48

Please sign in to comment.